com.sun.jersey.api.container.ContainerException: The ResourceConfig instance does not contain any root resource classes.

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via crunchify.com by Unknown author, 1 year ago
via crunchify.com by Unknown author, 1 year ago
via Stack Overflow by vishal.biyani
, 2 years ago
The ResourceConfig instance does not contain any root resource classes.
via GitHub by yurique
, 2 years ago
The ResourceConfig instance does not contain any root resource classes.
via dineshonjava.com by Unknown author, 1 year ago
The ResourceConfig instance does not contain any root resource classes.
via java.net by Unknown author, 2 years ago
The ResourceConfig instance does not contain any root resource classes.
com.sun.jersey.api.container.ContainerException: The ResourceConfig instance does not contain any root resource classes.
at com.sun.jersey.server.impl.application.RootResourceUriRules.(RootResourceUriRules.java:99)
at com.sun.jersey.server.impl.application.WebApplicationImpl._initiate(WebApplicationImpl.java:1359)
at com.sun.jersey.server.impl.application.WebApplicationImpl.access$700(WebApplicationImpl.java:180)
at com.sun.jersey.server.impl.application.WebApplicationImpl$13.f(WebApplicationImpl.java:799)
at com.sun.jersey.server.impl.application.WebApplicationImpl.initiate(WebApplicationImpl.java:795)
at com.sun.jersey.api.container.ContainerFactory.createContainer(ContainerFactory.java:172)
at com.sun.jersey.api.container.ContainerFactory.createContainer(ContainerFactory.java:134)
at xirrixProtocol.MyHttpServer.createHttpServer(MyHttpServer.java:45)
at xirrixProtocol.MyHttpServer.run(MyHttpServer.java:28)
at java.lang.Thread.run(Thread.java:724)

Users with the same issue

Samebug visitor profile picture
Unknown user
Once, 1 month ago
Samebug visitor profile picture
Unknown user
Once, 2 months ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.