Getting Started With JavaEE and GlassFish Using Eclipse - Part 4
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: http://apex.oracle.com/pls/apex/f?p=44785:24:849222793941563::NO:24:P24_...
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 184.108.40.206".
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.
Tried agian today and did not get this error.. have no idea why