order of jars on java 8 appengine

24 views
Skip to first unread message

Rajesh Gupta

unread,
Mar 3, 2021, 12:35:49 AM3/3/21
to google-a...@googlegroups.com
Hello,
On java 8 appengine app (not local) , is there a way to find out the classpath or the order of jars, the appengine is scanning.

I am getting java.lang.NoClassDefFoundError error for one of my internal class.

I tried downloading the app through the console, but looks like that page is not available anymore.  
What tools I have to find out what exactly is deployed on to the appengine. 

What log statement can I insert, so that I can get the order or jars or the classpath.

--
Rajesh
Field Service Software on Google Cloud Platform and Mobile


Andrew Cooper

unread,
Apr 6, 2021, 9:10:28 AM4/6/21
to Google App Engine

Were you able to find the answer to your question?

The `java.lang.NoClassDefFoundError` is a fairly generic error message and can be hard to debug correctly without further context.

It will be good to implement some form of logging for your application to help you narrow down the root cause quicker. The advantage of implementing logs with your code is that some errors might not cause a significant problem until it is too late. This way, you can monitor your running code in different situations.

How did you deploy your App? An excellent way to manage your code for App Engine is to create a repository and deploy an app to App Engine directly from the repository. This way, you gain complete control over any changes and even automate smoother deployments.

Reply all
Reply to author
Forward
0 new messages