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 177679 - REST from Entity Classes wizard generates classes that cannot be compiled.
Summary: REST from Entity Classes wizard generates classes that cannot be compiled.
Status: VERIFIED FIXED
Alias: None
Product: webservices
Classification: Unclassified
Component: REST (show other bugs)
Version: 6.x
Hardware: PC Linux
: P2 normal with 1 vote (vote)
Assignee: Milan Kuchtiak
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-11-26 07:49 UTC by Milan Kuchtiak
Modified: 2010-05-20 12:23 UTC (History)
2 users (show)

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 Milan Kuchtiak 2009-11-26 07:49:51 UTC
Note: this is related to JavaEE6 web project with Spring framework enabled.

The wizard is generating code with @com.sun.jersey.api.spring.Autowire annotation, that is missing on classpath.

The workaround is either adding jersey-spring.jar manually to restlib-gfv3ee6 library, or add entire Jersey 1.1 library to project classpath

The fix is easy - just extend the restlib-gfv3ee6 for jersey-spring.jar.
Comment 1 Milan Kuchtiak 2010-01-06 04:10:25 UTC
Fixed.

Details:
http://hg.netbeans.org/main/rev/100e662adc7c

See also another issue related to Spring and REST: issue 179216
Comment 2 Quality Engineering 2010-01-06 23:38:03 UTC
Integrated into 'main-golden', will be available in build *201001070200* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main/rev/100e662adc7c
User: mkuchtiak@netbeans.org
Log: #177679: add jersey-spring.jar to classpath
Comment 3 Jaroslav Pospisil 2010-05-20 12:23:41 UTC
v.