I have a working GWT-App Engine web project which works before I added the Spring dependency in the POM. Now when I run the application, this error is thrown (and ultimately App engine won’t load):
java.lang.ClassNotFoundException:
org.springframework.web.context.ContextLoaderListener
I think the problem is that the Spring jars are not copied to the WEB-INF/lib folders as I can’t see those in that folder.
Any ideas how Spring jars will be copied to that folder?
Update:
Add
<packaging>war</packaging>. Currently Maven doesn’t copy any dependencies artifacts intoWEB-INF/libbecause that’s a default behaviour ofjarpackaging you used so far for this artifact.