Skip to content
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

Error starting jetty-10: Provider org.eclipse.jetty.websocket.javax.client.JavaxWebSocketShutdownContainer not found #6024

Closed
janbartel opened this issue Mar 2, 2021 · 2 comments · Fixed by #6025
Assignees

Comments

@janbartel
Copy link
Contributor

When the jetty-10 demo webapps are deployed, there are errors logged, which are logged at INFO level:

INFO :oeja.AnnotationConfiguration:main: Error: for o.e.j.w.WebAppContext......

It's a bit obscure to work out what is happening, but I discovered that the following error is being thrown:

Caused by: java.util.ServiceConfigurationError: javax.servlet.ServletContainerInitializer: Provider org.eclipse.jetty.websocket.javax.client.JavaxWebSocketShutdownContainer not found
at java.base/java.util.ServiceLoader.fail(ServiceLoader.java:588)
at java.base/java.util.ServiceLoader$LazyClassPathLookupIterator.nextProviderClass(ServiceLoader.java:1211)
at java.base/java.util.ServiceLoader$LazyClassPathLookupIterator.hasNextService(ServiceLoader.java:1220)
at java.base/java.util.ServiceLoader$LazyClassPathLookupIterator.hasNext(ServiceLoader.java:1264)
at java.base/java.util.ServiceLoader$2.hasNext(ServiceLoader.java:1299)
at java.base/java.util.ServiceLoader$3.hasNext(ServiceLoader.java:1384)

@joakime
Copy link
Contributor

joakime commented Mar 2, 2021

This on jetty-10.0.x HEAD, or one of the releases?

@janbartel
Copy link
Contributor Author

HEAD jetty-10.0.x

lachlan-roberts added a commit that referenced this issue Mar 3, 2021
Signed-off-by: Lachlan Roberts <lachlan@webtide.com>
lachlan-roberts added a commit that referenced this issue Mar 3, 2021
…ContainerError

Issue #6024 - protect and expose the JavaxWebSocketShutdownContainer.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants