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.
Thrown to indicate that a method has been invoked at an illegal or inappropriate or wrong time. Several reasons could lead to your Tomcat failing to start or load your application. Start by ensuring that Tomcat uses the same JRE version as your application
Solutions on the web
via Oracle Community by 392 Guest, 1 year ago
via Stack Overflow by Alex
, 1 year agovia Stack Overflow by Karl Richter
, 2 months agovia Coderanch by neri jimenez, 1 year ago
via Stack Overflow by user129186
, 1 year agovia Stack Overflow by Nesquik27
, 1 year agojava.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 org.apache.catalina.core.StandardHost.addChild(StandardHost.java:688)
at com.sun.enterprise.web.WebContainer.loadWebModule(WebContainer.java:1584)
at com.sun.enterprise.web.WebContainer.loadWebModule(WebContainer.java:1222)
at com.sun.enterprise.server.WebModuleDeployEventListener.moduleDeployed(WebModuleDeployEventListener.java:182)