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 196647 - javaee-web-api included in test classpath
Summary: javaee-web-api included in test classpath
Status: RESOLVED DUPLICATE of bug 195442
Alias: None
Product: javaee
Classification: Unclassified
Component: Maven (show other bugs)
Version: 6.x
Hardware: PC Windows 7 x64
: P2 normal (vote)
Assignee: David Konecny
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-03-13 18:55 UTC by _ gtzabari
Modified: 2011-03-14 21:53 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description _ gtzabari 2011-03-13 18:55:39 UTC
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.
Comment 1 _ gtzabari 2011-03-13 19:13:21 UTC
This issue is also reproducible under Build 201103130400.
Comment 2 David Konecny 2011-03-14 21:53:18 UTC

*** This bug has been marked as a duplicate of bug 195442 ***