java.lang.IllegalStateException: ContainerBase.addChild: start: LifecycleException: com.sun.ws.rest.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

Samebug tips

,
Expert tip

You need to config your login URL in both the main and in URLs file.

Solutions on the web

via Oracle Community by 392 Guest, 1 year ago
ContainerBase.addChild: start: LifecycleException: com.sun.ws.rest.api.container.ContainerException: The ResourceConfig instance does not contain any root resource classes.
via Stack Overflow by Alex
, 1 year ago
ContainerBase.addChild: start: org.apache.catalina.LifecycleException: java.lang.IllegalArgumentException: java.lang.ClassNotFoundException: org.springframework.web.context.ContextLoaderListener
via Coderanch by neri jimenez, 11 months ago
ContainerBase.addChild: start: org.apache.catalina.LifecycleException: java.lang.RuntimeException: Servlet web service endpoint '' failure
via Stack Overflow by user129186
, 1 year ago
ContainerBase.addChild: start: org.apache.catalina.LifecycleException: org.apache.catalina.LifecycleException: java.lang.ClassNotFoundException: org.json.JSONObject
via Stack Overflow by Nesquik27
, 8 months ago
ContainerBase.addChild: start: org.apache.catalina.LifecycleException: org.apache.catalina.LifecycleException: java.lang.ArrayIndexOutOfBoundsException: 40125 java.lang.IllegalStateException: ContainerBase.addChild: start: org.apache.catalina.LifecycleException: org.apache.catalina.LifecycleException: java.lang.ArrayIndexOutOfBoundsException: 40125
via Stack Overflow by Gaurav Rawat
, 2 years ago
ContainerBase.addChild: start: org.apache.catalina.LifecycleException: Failed to start component [StandardEngine[Catalina].StandardHost[localhost].StandardContext[]]
java.lang.IllegalStateException: ContainerBase.addChild: start: LifecycleException: com.sun.ws.rest.api.container.ContainerException: The ResourceConfig instance does not contain any root resource classes.
at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:976)
at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:957)
at com.sun.enterprise.web.WebContainer.loadWebModule(WebContainer.java:1584)
at com.sun.enterprise.server.WebModuleDeployEventListener.moduleDeployed(WebModuleDeployEventListener.java:182)

Users with the same issue

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
Samebug visitor profile picture
Unknown user
Once, 1 year ago
2 times, 2 days ago
129 more bugmates

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