spring - SEVERE: StandardWrapper.Throwable -


why got error develop jax-rs web service jersey, maven, hibernate , spring. how solve error?

aug 03, 2015 2:23:17 pm com.sun.jersey.api.core.packagesresourceconfig init info: scanning root resource , provider classes in packages:   obl.funky aug 03, 2015 2:23:17 pm com.sun.jersey.server.impl.application.webapplicationimpl _initiate info: initiating jersey application, version 'jersey: 1.8 06/24/2011 12:17 pm' aug 03, 2015 2:23:17 pm com.sun.jersey.server.impl.application.rootresourceurirules <init> severe: resourceconfig instance not contain root resource classes. aug 03, 2015 2:23:17 pm org.apache.catalina.core.applicationcontext log severe: standardwrapper.throwable com.sun.jersey.api.container.containerexception: resourceconfig instance not contain root resource classes.     @ com.sun.jersey.server.impl.application.rootresourceurirules.<init>(rootresourceurirules.java:99)     @ com.sun.jersey.server.impl.application.webapplicationimpl._initiate(webapplicationimpl.java:1298)     @ com.sun.jersey.server.impl.application.webapplicationimpl.access$700(webapplicationimpl.java:169)     @ com.sun.jersey.server.impl.application.webapplicationimpl$13.f(webapplicationimpl.java:775)     @ com.sun.jersey.server.impl.application.webapplicationimpl$13.f(webapplicationimpl.java:771)     @ com.sun.jersey.spi.inject.errors.processwitherrors(errors.java:193)     @ com.sun.jersey.server.impl.application.webapplicationimpl.initiate(webapplicationimpl.java:771)     @ com.sun.jersey.server.impl.application.webapplicationimpl.initiate(webapplicationimpl.java:766)     @ com.sun.jersey.spi.container.servlet.servletcontainer.initiate(servletcontainer.java:488)     @ com.sun.jersey.spi.container.servlet.servletcontainer$internalwebcomponent.initiate(servletcontainer.java:318)     @ com.sun.jersey.spi.container.servlet.webcomponent.load(webcomponent.java:609)     @ com.sun.jersey.spi.container.servlet.webcomponent.init(webcomponent.java:210)     @ com.sun.jersey.spi.container.servlet.servletcontainer.init(servletcontainer.java:373)     @ com.sun.jersey.spi.container.servlet.servletcontainer.init(servletcontainer.java:556)     @ javax.servlet.genericservlet.init(genericservlet.java:158)     @ org.apache.catalina.core.standardwrapper.initservlet(standardwrapper.java:1231)     @ org.apache.catalina.core.standardwrapper.loadservlet(standardwrapper.java:1144)     @ org.apache.catalina.core.standardwrapper.allocate(standardwrapper.java:817)     @ org.apache.catalina.core.standardwrappervalve.invoke(standardwrappervalve.java:135)     @ org.apache.catalina.core.standardcontextvalve.invoke(standardcontextvalve.java:106)     @ org.apache.catalina.authenticator.authenticatorbase.invoke(authenticatorbase.java:502)     @ org.apache.catalina.core.standardhostvalve.invoke(standardhostvalve.java:142)     @ org.apache.catalina.valves.errorreportvalve.invoke(errorreportvalve.java:79)     @ org.apache.catalina.valves.abstractaccesslogvalve.invoke(abstractaccesslogvalve.java:617)     @ org.apache.catalina.core.standardenginevalve.invoke(standardenginevalve.java:88)     @ org.apache.catalina.connector.coyoteadapter.service(coyoteadapter.java:518)     @ org.apache.coyote.http11.abstracthttp11processor.process(abstracthttp11processor.java:1091)     @ org.apache.coyote.abstractprotocol$abstractconnectionhandler.process(abstractprotocol.java:668)     @ org.apache.tomcat.util.net.nioendpoint$socketprocessor.dorun(nioendpoint.java:1521)     @ org.apache.tomcat.util.net.nioendpoint$socketprocessor.run(nioendpoint.java:1478)     @ java.util.concurrent.threadpoolexecutor.runworker(threadpoolexecutor.java:1142)     @ java.util.concurrent.threadpoolexecutor$worker.run(threadpoolexecutor.java:617)     @ org.apache.tomcat.util.threads.taskthread$wrappingrunnable.run(taskthread.java:61)     @ java.lang.thread.run(thread.java:745)  aug 03, 2015 2:23:17 pm org.apache.catalina.core.standardwrappervalve invoke severe: allocate exception servlet jersey web application com.sun.jersey.api.container.containerexception: resourceconfig instance not contain root resource classes.     @ com.sun.jersey.server.impl.application.rootresourceurirules.<init>(rootresourceurirules.java:99)     @ com.sun.jersey.server.impl.application.webapplicationimpl._initiate(webapplicationimpl.java:1298)     @ com.sun.jersey.server.impl.application.webapplicationimpl.access$700(webapplicationimpl.java:169)     @ com.sun.jersey.server.impl.application.webapplicationimpl$13.f(webapplicationimpl.java:775)     @ com.sun.jersey.server.impl.application.webapplicationimpl$13.f(webapplicationimpl.java:771)     @ com.sun.jersey.spi.inject.errors.processwitherrors(errors.java:193)     @ com.sun.jersey.server.impl.application.webapplicationimpl.initiate(webapplicationimpl.java:771)     @ com.sun.jersey.server.impl.application.webapplicationimpl.initiate(webapplicationimpl.java:766)     @ com.sun.jersey.spi.container.servlet.servletcontainer.initiate(servletcontainer.java:488)     @ com.sun.jersey.spi.container.servlet.servletcontainer$internalwebcomponent.initiate(servletcontainer.java:318)     @ com.sun.jersey.spi.container.servlet.webcomponent.load(webcomponent.java:609)     @ com.sun.jersey.spi.container.servlet.webcomponent.init(webcomponent.java:210)     @ com.sun.jersey.spi.container.servlet.servletcontainer.init(servletcontainer.java:373)     @ com.sun.jersey.spi.container.servlet.servletcontainer.init(servletcontainer.java:556)     @ javax.servlet.genericservlet.init(genericservlet.java:158)     @ org.apache.catalina.core.standardwrapper.initservlet(standardwrapper.java:1231)     @ org.apache.catalina.core.standardwrapper.loadservlet(standardwrapper.java:1144)     @ org.apache.catalina.core.standardwrapper.allocate(standardwrapper.java:817)     @ org.apache.catalina.core.standardwrappervalve.invoke(standardwrappervalve.java:135)     @ org.apache.catalina.core.standardcontextvalve.invoke(standardcontextvalve.java:106)     @ org.apache.catalina.authenticator.authenticatorbase.invoke(authenticatorbase.java:502)     @ org.apache.catalina.core.standardhostvalve.invoke(standardhostvalve.java:142)     @ org.apache.catalina.valves.errorreportvalve.invoke(errorreportvalve.java:79)     @ org.apache.catalina.valves.abstractaccesslogvalve.invoke(abstractaccesslogvalve.java:617)     @ org.apache.catalina.core.standardenginevalve.invoke(standardenginevalve.java:88)     @ org.apache.catalina.connector.coyoteadapter.service(coyoteadapter.java:518)     @ org.apache.coyote.http11.abstracthttp11processor.process(abstracthttp11processor.java:1091)     @ org.apache.coyote.abstractprotocol$abstractconnectionhandler.process(abstractprotocol.java:668)     @ org.apache.tomcat.util.net.nioendpoint$socketprocessor.dorun(nioendpoint.java:1521)     @ org.apache.tomcat.util.net.nioendpoint$socketprocessor.run(nioendpoint.java:1478)     @ java.util.concurrent.threadpoolexecutor.runworker(threadpoolexecutor.java:1142)     @ java.util.concurrent.threadpoolexecutor$worker.run(threadpoolexecutor.java:617)     @ org.apache.tomcat.util.threads.taskthread$wrappingrunnable.run(taskthread.java:61)     @ java.lang.thread.run(thread.java:745) 

i had error how solve part there using eclipse ide error this.

look, if can see web.xml maybe trick. error, think web.xml not configured. recomend follow tutorial of jersey, or can download examples project. https://jersey.java.net/documentation/latest/getting-started.html#new-from-archetype


Comments

Popular posts from this blog

python - Healpy: From Data to Healpix map -

c - Bitwise operation with (signed) enum value -

xslt - Unnest parent nodes by child node -