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.
Maven web projects (but not normal web projects) include ".m2\repository\javax\javaee-web-api\6.0\javaee-web-api-6.0.jar" in the classpath when running tests. This causes jersey-test-framework to crash when it runs across the stubbed methods. See http://jersey.576304.n2.nabble.com/Bizarre-stack-trace-with-jersey-client-tt785445.html#a6166842 for a related discussion.
This issue is also reproducible under Build 201103130400.
*** This bug has been marked as a duplicate of bug 195442 ***