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?
Migrating to Google Cloud Endpoints v2
614 views Asked by Ken At
2
There are 2 answers
1
Ken
On
In order to override the include appengine-endpoints.jar from the App Engine SDK for Java, I added a class-loader-config to the appengine-web.xml.
<classloader-config>
<priority-specifier filename="endpoints-framework-2.0.3.jar/>
</class-loader-config>
I've also disabled the Google Cloud Endpoint Builder in Eclipse. Properties>Builders and unchecked Google App Engine Cloud Endpoints Builder.
Related Questions in GOOGLE-APP-ENGINE
- Deployment through app engine, cloud sql database, problem connecting with server code, doesn't connect
- Jetty 12 idle timeout limited to 30 seconds when upgrading to Java 21 in Google App Engine Standard Environment
- Unable to deploy to GAE from Github Actions
- Migrating Google App Engine - Eclipse Java 8
- How to use Oauth in order to log‑in on .googleapis.com on almost any arbitrary endpoints domains from the web browser?
- Running gcloud app deploy and getting PERMISSION_DENIED 'compute.regions.get', despite having Owner and Compute admin permissions
- Spring security CORS configuration not working after deploying to App Engine
- Google App Engine: manual scaling with one instance suddenly created multiple instances
- gcloud.app.deploy Error Response: [13] Failed to create cloud build: invalid bucket
- gcloud.app.deploy Error Response: [13] default Cloud Build service account or user-specified service account does not have access to the bucket
- GCP Java dev_appserver Can't make API call memcache.Get in a thread that is neither the original request thread nor a thread created by ThreadManager
- How to correlate and aggregate logs in Google App Engine Python 3?
- App Engine Python3 db / ndb & eventual consistency
- How do I connect to Google Cloud mySQL from App Engine using Django-Environ?
- How to deploy my fast api with llama 2 on app engine
Related Questions in GOOGLE-CLOUD-ENDPOINTS
- Endpoint URL to connect the Dialogflow CX agent to WhatsApp using Twilio
- How can I get high availability for an AlertManager that is behind Google Private Service Connect on GKE?
- How To Run GCP Cloud Endpoints Locally?
- How to authenticate with a Vertex AI endpoint in Postman without manual action?
- Does Google ESP V2 support validating JWT in cookies?
- My program endpoint key specified key does not exists this error
- connection to googles private apis endpoints (private service connect)
- Why is my Svelte web application using a previous version that I have deleted from App Engine?
- How can I use my App Engine API to run an executable on Compute Engine?
- Google Cloud Endpoints Optional Authentication for ESPv2 via YAML Upload
- Unsupported gRPC frame flag: 1 in response of Cloud Endpoints OpenAPI for Cloud Run with ESPv2
- Vertex AI endpoint logs not appearing on Logs Explorer
- VertexAI Endpoint - Unable to coerce value
- Failed startup of context c.g.a.r.j.AppEngineWebAppContext due to FeatureNotEnabledException: app_identity_service.GetAccessToken
- How to create an endpoint using the model trained by Vertex AI?
Related Questions in GOOGLE-ECLIPSE-PLUGIN
- Error installing plugin Google Cloud Tools for eclipse 1.8.4 (ubuntu)
- How to connect Google earth with my website?
- Java App Engine Project in eclipse return Server App Engine Standard at Localhost failed to start
- CloudSQL Eclipse Java Standard GAE java.lang.UnsatisfiedLinkError
- Bare bones GAE app with Dataflow pipeline fails
- Bare bones GAE app with Objectify fails
- What's the difference between "Google App Engine Flexible project", "Standard project" and "Dataflow project"
- Google Eclipse Plugin is Gone?
- On deploy I am hitting the 10k file limit, is there a way I can I test if files are being excluded?
- Deploying to GAE
- Choose Java 7 JRE to run App Engine Dev Server with Cloud Tools for Eclipse
- DataNucleus JDO with Google Cloud Tools for Eclipse
- Migrating to Google Cloud Endpoints v2
- How to connect GAE to Amazon RDS?
- Ubuntu 14.04 eclipse mars.2(4.5.2) I installed the latest version of google plugin for eclipse(4.3) and still its icon does not appear on the toolbar
Related Questions in GOOGLE-CLOUD-ENDPOINTS-V2
- ERROR: (gcloud.endpoints.services.deploy) INVALID_ARGUMENT: Cannot convert to service config
- ModelNotFoundException while using Vertex AI online prediction
- Gradle plugin endpoints-framework-gradle-plugin no longer maintained?
- Google Cloud Endpoints Optional Authentication for ESPv2 via YAML Upload
- Unsupported gRPC frame flag: 1 in response of Cloud Endpoints OpenAPI for Cloud Run with ESPv2
- Failed startup of context c.g.a.r.j.AppEngineWebAppContext due to FeatureNotEnabledException: app_identity_service.GetAccessToken
- How do i call a Vertex AI Endpoint from Google Cloud Functions written in python
- Cloud Endpoints Portal is deprecated - alternatives?
- How to set up pro-guard rules for Cloud Endpoints v2 in Android project
- Exclude cloud run from outer internet
- error in add-iam-policy-binding to ESP end point service GCloud
- Monitoring request latencies in Google Metrics Explorer
- Invalid Caller IP in Google Cloud Endpoints based API
- Enabling Firewall for Google Cloud Endpoints
- Google Cloud Endpoints POST returning Jwt issuer is not configured
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
Popular Tags
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
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 theendpoints-frameworkJAR 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.