[jboss-user] [JBoss Portal Users] - Re: VFSZIP problem ?
blopes
do-not-reply at jboss.com
Wed Aug 26 05:40:06 EDT 2009
I changed jersey servlet property on web.xml to
<servlet-name>JerseyAPI</servlet-name>
<servlet-class>com.sun.jersey.spi.container.servlet.ServletContainer</servlet-class>
<init-param>
<param-name>com.sun.jersey.config.property.resourceConfigClass</param-name>
<param-value>com.sun.jersey.api.core.PackagesResourceConfig</param-value>
</init-param>
<init-param>
<param-name>com.sun.jersey.config.property.packages</param-name>
<param-value>lib/WSSandBox.jar</param-value>
</init-param>
<load-on-startup>1</load-on-startup>
even with this change I have the same problem:
10:34:55,553 INFO [ContextLoader] Root WebApplicationContext: initialization completed in 2121 ms
10:34:55,581 INFO [PackagesResourceConfig] Scanning for root resource and provider classes in the packages:
lib/WSSandBox.jar
10:34:55,705 INFO [WebApplicationImpl] Initiating Jersey application, version 'Jersey: 1.1.1-ea 07/14/2009 07:16 PM'
10:34:56,391 SEVERE [WebApplicationImpl] The ResourceConfig instance does not contain any root resource classes.
10:34:56,394 ERROR [[/jboss]] StandardWrapper.Throwable
com.sun.jersey.api.container.ContainerException: The ResourceConfig instance does not contain any root resource classes.
at com.sun.jersey.server.impl.application.WebApplicationImpl.processRootResources(WebApplicationImpl.java:773)
at com.sun.jersey.server.impl.application.WebApplicationImpl.initiate(WebApplicationImpl.java:645)
at com.sun.jersey.server.impl.application.WebApplicationImpl.initiate(WebApplicationImpl.java:419)
at com.sun.jersey.spi.container.servlet.ServletContainer.initiate(ServletContainer.java:377)
at com.sun.jersey.spi.container.servlet.ServletContainer$InternalWebComponent.initiate(ServletContainer.java:242)
Any ideias ?
Thanks Bruno
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4251728#4251728
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4251728
More information about the jboss-user
mailing list