All Questions
225 questions
0
votes
0
answers
3k
views
java.lang.NoClassDefFoundError: Could not initialize class com.blacklight.common.DBManager
I am trying to connect my service file to cloud sql instance. But I am geeting java.lang.NoClassDefFoundError: Could not initialize class com.blacklight.common.DBManager
Here is my class
package com....
4
votes
0
answers
249
views
Spring boot google app engine stopped working with error: com.google.apphosting.runtime.JavaRuntimeMainWithDefaults
I haven't changed anything on our deployment process and it just started failing with the following error: com.google.apphosting.runtime.JavaRuntimeMainWithDefaults
I0110 00:43:48.066641 20 ...
1
vote
1
answer
332
views
App engine Java application only runs on F instance?
I tried to deploy a spring java 11 application to GCP app engine, on a B2 instance, and it deploys but immediately crashes with this singular error:
textPayload: "[start] 2021/06/20 18:09:58....
0
votes
1
answer
592
views
BeanCreationException not able create bean due to failed introspection in App Engine
I have deployed my spring boot application in App Engine, but it gives error that its not able create bean for my controller class
Error I'm getting in GAE
org.springframework.beans.factory....
1
vote
1
answer
364
views
Spring securityconfig breaks deployment on google cloud app engine
Im trying to deploy a springboot rest api to google cloud's app engine, However i'm getting this error:
org.springframework.context.ApplicationContextException: Unable to start ...
0
votes
0
answers
40
views
How do I configure a spring aplication to run on app engine?
This is a spring boot server that will run on Google App engine. However it gives me the exception:
Uncaught exception from servlet
java.lang.RuntimeException: javax.servlet.ServletException: Not ...
4
votes
1
answer
69
views
Request microservice to another microservice
I am migrating my project from ComputeEngine to AppEngine, in ComputeEngine I defined the port with which each service would work. So when communicating with each other, what I did was call them with ...
1
vote
1
answer
387
views
(GAE-Standard+Java11) Sessions with multiple instances running
I have deployed my spring boot application on GAE, Java 11, Standard Environment. As per the documentation for Java11 we need to use app.yaml for configuring the instances.
I wanted to know as to how ...
1
vote
1
answer
1k
views
App Engine Deployment Failed: Process Handler Exception - Non Zero Exit [2]
I am trying to deploy a Spring Boot Java 11 project on Google App Engine.
On running mvn appengine:deploy am getting the following error:-
[INFO] GCLOUD: ERROR: (gcloud.app.deploy) argument --version/-...
0
votes
2
answers
849
views
Uploading Files to Google Cloud Storage via Google App Engine using Java: (No such file or directory)
I am developing a Spring-MAVEN JAVA project(mostly REST APIs for backend) using GAE. I am also using GCS(Google Cloud Storage) for storing some images and videos. The problem is that when I execute my ...
0
votes
1
answer
27
views
GAE Static Resource Expiry
I have a pretty simple Java web app that follows the usual directory structure that Maven expects.
When I run the application locally ( mvn -D skipTests clean package appengine:run ) files which are ...
3
votes
2
answers
8k
views
Error creating bean with name 'googleCredentials' defined in class path resource
I am trying to deploy a restful spring app that connects to a MySQL database. I am deploying it in gcp appengine and the database is also a gcp sql instance. I have tested the my code locally on my ...
5
votes
1
answer
3k
views
Execute Google Cloud Dataflow pipeline from Spring controller
How would I go about executing an Apache Beam pipeline to Google Cloud Dataflow using Spring? This question is similar to Running Apache Beam pipeline in Spring Boot project on Google Data Flow, but ...
0
votes
0
answers
87
views
Spring boot java google app engine add kotlin error
Im building a server using Spring boot with a mix of java and kotlin in eclipse IDE. I also use Google App Engine. It all works within eclipse with import and all that stuff but when i try to run or ...
3
votes
0
answers
563
views
Google App Engine keeps restarting Spring Boot application all the time for no apparent reason
I have a very simple Java 11 Spring Boot application running on Google's App Engine Standard environment. The problem is that the instance running the app keeps restarting very very often. Sometimes ...