-
Notifications
You must be signed in to change notification settings - Fork 1.9k
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
Ctrl-C after jetty:run produces NoClassDefFoundError #5832
Comments
What webapp? |
@janbartel with the CometD Demo WebApp. Not sure where that Could be the |
@sbordet If you call |
I think I've seen this before. See issue #4410.
|
yes it's documented on maven core side (I don't remember the link). Maven core is very aggressive to close classloader. So when a registered shutdown hook try to run the context classloader has been closed and so classnotfound. |
Signed-off-by: Lachlan Roberts <lachlan@webtide.com>
@sbordet when you do Ctrl-C, this will end up in the Also the |
I don't see how? If the component is already stopped, it will have removed itself from the |
Signed-off-by: Lachlan Roberts <lachlan@webtide.com>
Signed-off-by: Lachlan Roberts <lachlan@webtide.com>
Signed-off-by: Lachlan Roberts <lachlan@webtide.com>
…utility Signed-off-by: Lachlan Roberts <lachlan@webtide.com>
Signed-off-by: Lachlan Roberts <lachlan@webtide.com>
Signed-off-by: Lachlan Roberts <lachlan@webtide.com>
Signed-off-by: Lachlan Roberts <lachlan@webtide.com>
Signed-off-by: Lachlan Roberts <lachlan@webtide.com>
…downThread Issue #5832 - shutdown Javax WSClientContainer with webapp if possible.
Fixed with PR #5840. |
Jetty version
10.0.x
Description
Starting Jetty 10 in a terminal window with the Jetty Maven Plugin via
jetty:run
, and then hitting ctrl-c produces:The text was updated successfully, but these errors were encountered: