This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 135593 - ResourceConfig does not contain any root resource classes
Summary: ResourceConfig does not contain any root resource classes
Status: RESOLVED DUPLICATE of bug 134750
Alias: None
Product: webservices
Classification: Unclassified
Component: REST (show other bugs)
Version: 6.x
Hardware: All All
: P2 blocker (vote)
Assignee: Peter Liu
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-05-22 12:49 UTC by vieiro
Modified: 2008-05-22 13:09 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Exception detail (7.09 KB, text/plain)
2008-05-22 12:51 UTC, vieiro
Details

Note You need to log in before you can comment on or make changes to this bug.
Description vieiro 2008-05-22 12:49:22 UTC
NB 6.1 on Linux with Glassfish v2

While developing and deploying a Visual Web Application I suddenly got this:

com.sun.ws.rest.api.container.ContainerException: The ResourceConfig instance does not contain any root resource classes.
        at com.sun.ws.rest.impl.application.WebApplicationImpl.processRootResources(WebApplicationImpl.java:451)
        at com.sun.ws.rest.impl.application.WebApplicationImpl.initiate(WebApplicationImpl.java:370)

It seems this happens because NetBeans 6.1 suddently modifies the web.xml adding a servlet or something (I haven't added
it myself, though).

I consider this a serious bug because it suddenly blocks users from deploying their application!

A link to the problem can also be found here: http://forums.java.net/jive/thread.jspa?threadID=40113&tstart=0
Comment 1 vieiro 2008-05-22 12:51:23 UTC
Created attachment 61755 [details]
Exception detail
Comment 2 Petr Hejl 2008-05-22 12:54:19 UTC
Seems like WS problem..
Comment 3 Lukas Jungmann 2008-05-22 13:09:01 UTC
should be already fixed in trunk

*** This issue has been marked as a duplicate of 134750 ***