Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

3rd party .jar includes with Google App Engine

I am writing a Google App Engine app using Java that uses 3rd party libraries. I am getting a "java.lang.NoClassDefFoundError" when running the app when it hits the line with references to the 3rd party library. This app works when creating a normal servlet, so I am pretty sure the code is correct.

I am developing in Eclipse.

Does the app engine not allow 3rd party libraries?

Do I need to configure the class path differently?

HELP!!

like image 990
Eddie Avatar asked Aug 18 '10 01:08

Eddie


1 Answers

If using Eclipse, You need to copy the required jar(s) to the /WEB-INF/lib folder manually.

like image 133
Anthony Coleman Avatar answered Sep 27 '22 23:09

Anthony Coleman