New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Exception in thread "main" java.lang.NoClassDefFoundError: javax/websocket/server/ServerContainer #29
Comments
I'm facing the same problem. I'm new to Java server development, so not sure what's relevant to report. I'm running macOS 10.13.5,
I've tried @miketeo Did you manage to overcome this? |
It works (at least for me) with mvn appengine:devserver -Pdevserver. jetty:run won't work. |
When I generate appengine guestbook archetype it works on my machine. However if I add
guestbook project also stops working with java.lang.NoClassDefFoundError: javax/websocket/server/ServerContainer |
I've tried running another machine (macOS again) where
I'm again stuck on the same problem. All the Ninja tests pass, then server is started
And it fails with non-descriptive callstack
|
OK. I finally got it work. After generating archetype I manually downgrade ninja version:
Since ninja 6.2.0 there's Programmatic initializing of NinjaFramework so that a web.xml is not required and it causes problems on my system. Without it I can run ninja with app engine. @raphaelbauer do you know if there's a possibility to disable this programmatic initializing, so that |
I can reproduce the problem. |
It works, thanks! |
👍 Thanks for testing! |
Hi, I have created a new appengine project using
mvn archetype:generate -DarchetypeGroupId=org.ninjaframework -DarchetypeArtifactId=ninja-appengine-blog-archetype
On running
mvn appengine:devserver -Pdevserver
, I have encountered the following exception:Exception in thread "main" java.lang.NoClassDefFoundError: javax/websocket/server/ServerContainer
The following properties are used in the pom.xml:
The text was updated successfully, but these errors were encountered: