users@glassfish.java.net

Re: HELP - ResourceConfig does not contain any root resource classes

From: <glassfish_at_javadesktop.org>
Date: Mon, 12 May 2008 14:15:40 PDT

I'm running the final release of NB 6.1 and using Sun AppServer 9.1_02 and this just happened to me. Similarly, I modified a single line of Java source code in a page backing bean, and began to get these deployment errors.

It appears the following was added to my web.xml:

<servlet>
        <servlet-name>ServletAdaptor</servlet-name>
        <servlet-class>com.sun.ws.rest.impl.container.servlet.ServletAdaptor</servlet-class>
        <load-on-startup>1</load-on-startup>
    </servlet>

and

<servlet-mapping>
        <servlet-name>ServletAdaptor</servlet-name>
        <url-pattern>/resources/*</url-pattern>
    </servlet-mapping>

I would consider this to be a serious bug that still exists
[Message sent by forum member 'asherwin' (asherwin)]

http://forums.java.net/jive/thread.jspa?messageID=273918