on November 4, 2010 at 6:58 AM PDT
I'm teaching myself Jave EE using the tutorials found on http://download.oracle.com/javaee/ . Unfortunately I've created a problem for myself that I seem unable to fix.
I have literally got to the first few steps of the "Your first cup Application" which involved setting up a web application and creating a page that says "15" and this is the error I am getting:
description The server encountered an internal error () that prevented it from fulfilling this request.
javax.servlet.ServletException: PWC1391: Servlet.init() for servlet org.netbeans.rest.application.config.ApplicationConfig threw exception
com.sun.jersey.api.container.ContainerException: The ResourceConfig instance does not contain any root resource classes.
This error occurred when I refectories my only class from DukesAgeREsource to DukesAgeResource. I've restarted the project under a different name and it works fine, but if I delete the original project and create one of the same name the same error will appear. This makes me think it's something to do with a file related to the Glassfish server, but I have no idea really since I am just starting out!
I have done some searching and heard that it can be an error with a servlets being created, I've checked the sun-web.xml files and this doesn't seem the case. I have compared most files with a working new project and they seem identical in every way so I am at a lost for solutions.
Any help is appreciated.