Skip to main content

Getting Started With JavaEE and GlassFish Using Eclipse - Part 4

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

I am following a tutorial that shows how to setup JAX-RS. However, I am getting an error when I reach a certain part in the tutorial.

The tutorial is here:

At one stage it says to perform the following:

Click Properties -> Click Project Facets -> Click JAX-RS(REST Web Service) -> Click further configuration -> Click OK

I then click apply and I get the following error:

cannot Deploy HelloWorld
Deployment Error for module: HelloWorld: 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.

I am using a "GlassFish Server Open Source Edition 3 (Java EE 6)" and "Java".

Any help in solving this problem would be appreciated.

Please if you can even tell me where to look to figure this out it would help.
Thanks Jeanne
Tried agian today and did not get this error.. have no idea why