Skip to main content

Problem deploying REST service in glassfish

Please note these forums are being decommissioned and use the new and improved forums at
No replies
Joined: 2011-03-16

/i am new to glassfish . Tried creating a sample REST service in Eclipse Helios and deplyed it in glassfish. When i tried with a sample given in internet, it seems to be workig for the first time.But I tried creating it myself and deployed it in glassfish. the deployment failed with error. MY web.xml is also configured properly pointing to resources folder.

An error has occurred
Exception while loading the app : java.lang.Exception: java.lang.IllegalStateException: ContainerBase.addChild: start: org.apache.catalina.LifecycleException: org.apache.catalina.LifecycleException: com.sun.jersey.api.container.ContainerException: The ResourceConfig instance does not contain any root resource classes.

Pls advise what will be the issue and how to fix it.