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 228684 - Customer Database on Spring sample cannot be deployed
Summary: Customer Database on Spring sample cannot be deployed
Status: VERIFIED WONTFIX
Alias: None
Product: webservices
Classification: Unclassified
Component: REST (show other bugs)
Version: 7.3.1
Hardware: PC Windows 7
: P3 normal (vote)
Assignee: Milan Kuchtiak
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-04-18 08:37 UTC by Jiri Skrivanek
Modified: 2016-07-07 10:05 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 Jiri Skrivanek 2013-04-18 08:37:50 UTC
Customer Database on Spring sample cannot be deployed. To reproduce:

- register GlassFish 4 to IDE
- open new project wizard
- choose "Samples|Web Services|REST: Customer Database on Spring" and click Next
- click Next
- click Finish
- fix error annotations (probably it is even not necessary to add aopalliance.jar to claspath)
- run project
- it fails to deploy because of missing jersey classes

Product Version: NetBeans IDE Dev (Build web-main-javaee7-240-on-20130418)
Java: 1.7.0_17; Java HotSpot(TM) 64-Bit Server VM 23.7-b01
Runtime: Java(TM) SE Runtime Environment 1.7.0_17-b02
System: Windows 7 version 6.1 running on amd64; Cp1250; en_US (nb)
Comment 1 Jiri Skrivanek 2013-04-18 08:53:21 UTC
The same applies to Message Board sample.
Comment 2 David Konecny 2013-04-29 01:41:10 UTC
(In reply to comment #1)
> The same applies to Message Board sample.

This is independent problem which I fixed as 4d78335990fe - project has wrong classpath setup which included JAX-RS jars and Jersey jars which I removed.
Comment 3 David Konecny 2013-04-29 01:52:05 UTC
Jakub, does Jersey 2.0 still supports Spring? If yes then what should web.xml look like? Thanks.

For now I'm simply removing this sample project. web-main#0f5167b3bea7
Comment 4 Quality Engineering 2013-05-02 14:10:17 UTC
Integrated into 'main-golden', will be available in build *201305021042* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main-golden/rev/4d78335990fe
User: David Konecny <dkonecny@netbeans.org>
Log: #228684 - Customer Database on Spring sample cannot be deployed
subset of issue is resolved
Comment 5 Martin Balin 2016-07-07 09:54:11 UTC
This old bug may not be relevant anymore. If you can still reproduce it in 8.2 development builds please reopen this issue.

Thanks for your cooperation,
NetBeans IDE 8.2 Release Boss