Oracle Weblogic Server (MOSC)

MOSC Banner

com.sun.jersey.api.container.ContainerException: The ResourceConfig instance does not contain any ro

edited Oct 8, 2012 8:28AM in Oracle Weblogic Server (MOSC) 5 commentsAnswered
Hi All,

a REST Service can work in one environment, but if it deploys to other environment, we get the following error:

Error 500--Internal Server Error
 
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:1064)
    at com.sun.jersey.server.impl.application.WebApplicationImpl.initiate(WebApplicationImpl.java:912)
    at com.sun.jersey.server.impl.application.WebApplicationImpl.initiate(WebApplicationImpl.java:589)
    at com.sun.jersey.spi.container.servlet.ServletContainer.initiate(ServletContainer.java:403)
    at com.sun.jersey.spi.container.servlet.ServletContainer$InternalWebComponent.initiate(ServletContainer.java:252)
    at com.sun.jersey.spi.container.servlet.WebComponent.load(WebComponent.java:550)

Howdy, Stranger!

Log In

To view full details, sign in to My Oracle Support Community.

Register

Don't have a My Oracle Support Community account? Click here to get started.

Category Leaderboard

Top contributors this month

New to My Oracle Support Community? Visit our Welcome Center

MOSC Help Center