Skip to content

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

Closed
@janbartel

Description

@janbartel
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)

Activity

joakime

joakime commented on Mar 2, 2021

@joakime
Contributor

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

janbartel

janbartel commented on Mar 2, 2021

@janbartel
ContributorAuthor

HEAD jetty-10.0.x

added a commit that references this issue on Mar 3, 2021

Issue #6024 - protect and expose the JavaxWebSocketShutdownContainer.

added a commit that references this issue on Mar 3, 2021

Merge pull request #6025 from eclipse/jetty-10.0.x-6024-JavaxShutdown…

23c1ef3
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

    Participants

    @joakime@janbartel@lachlan-roberts

    Issue actions

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