I am currently using Cloud Endpoints v1 in an existing application, but I would like to update it to v2 for App Engine in Java. I have reviewed the migration guide, but this only provides steps for migrating a Maven project. I am not using Maven, but I am using the Java App Engine SDK and Google Eclipse plugin to develop, test, and deploy my endpoints. I am having trouble getting v2 of the Cloud Endpoints Framework to run due to conflicts with the existing dependencies in the App Engine SDK. How can I override the v1 dependencies in the App Engine SDK so that I can migrate to v2? Is this possible, or should I convert my project to a Maven project?
I believe GPE is deprecated. However, you should be able to right click on your App Engine project, select Build Path > Configure Build Path
, and add the endpoints-framework
JAR under the Libraries tab. Make sure to go to Order and Export and move the endpoints-framework above the App Engine SDK, or you're likely to encounter issues.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With