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 terracotta.org by Unknown author, 1 year ago
The Application class com.ben.service.CustomerApplication could not be instantiated
via Stack Overflow by amekki
, 10 months ago
The Application class com.app.ws.RestApi could not be instantiated
com.sun.jersey.api.container.ContainerException: The Application class com.ben.service.CustomerApplication could not be instantiated	at com.sun.jersey.server.impl.application.DeferredResourceConfig$ApplicationHolder.(DeferredResourceConfig.java:86)	at com.sun.jersey.server.impl.application.DeferredResourceConfig$ApplicationHolder.(DeferredResourceConfig.java:78)	at com.sun.jersey.server.impl.application.DeferredResourceConfig.getApplication(DeferredResourceConfig.java:75)	at com.sun.jersey.server.impl.application.WebApplicationImpl._initiate(WebApplicationImpl.java:1142)	at com.sun.jersey.server.impl.application.WebApplicationImpl.access$700(WebApplicationImpl.java:171)	at com.sun.jersey.server.impl.application.WebApplicationImpl$13.f(WebApplicationImpl.java:777)	at com.sun.jersey.server.impl.application.WebApplicationImpl$13.f(WebApplicationImpl.java:773)	at com.sun.jersey.spi.inject.Errors.processWithErrors(Errors.java:193)	at com.sun.jersey.server.impl.application.WebApplicationImpl.initiate(WebApplicationImpl.java:773)	at com.sun.jersey.server.impl.application.WebApplicationImpl.initiate(WebApplicationImpl.java:768)	at com.sun.jersey.spi.container.servlet.ServletContainer.initiate(ServletContainer.java:488)	at com.sun.jersey.spi.container.servlet.ServletContainer$InternalWebComponent.initiate(ServletContainer.java:318)	at com.sun.jersey.spi.container.servlet.WebComponent.load(WebComponent.java:607)	at com.sun.jersey.spi.container.servlet.WebComponent.init(WebComponent.java:208)	at com.sun.jersey.spi.container.servlet.ServletContainer.init(ServletContainer.java:373)	at com.sun.jersey.spi.container.servlet.ServletContainer.init(ServletContainer.java:556)	at javax.servlet.GenericServlet.init(GenericServlet.java:160)	at org.apache.catalina.core.StandardWrapper.initServlet(StandardWrapper.java:1266)	at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1185)	at org.apache.catalina.core.StandardWrapper.allocate(StandardWrapper.java:857)	at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:135)	at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:169)	at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:472)	at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:168)	at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:98)	at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:928)	at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)	at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:407)	at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:987)	at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:539)	at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:298)	at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source)	at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)	at java.lang.Thread.run(Unknown Source)