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.
Created attachment 120495 [details] GlassFish log. It is not possible to deploy CustomerDBSpring sample application. To reproduce: - register GlassFish 3.1.2 server - open new project wizard - select "Samples|Web Services|REST: Customer Database on Spring (Java EE 5)" - finish wizard - run project but deployment fails (see attachment for details) Product Version: NetBeans IDE Dev (Build 201206070001) Java: 1.7.0_04; Java HotSpot(TM) 64-Bit Server VM 23.0-b21 System: Windows 7 version 6.1 running on amd64; Cp1250; en_US (nb)
Jirko, have you followed the notes[1] mentioned in @Error annotation message? I've just tried to reproduce the problem but with no success. [1] http://wiki.netbeans.org/SpringWithAopalliance
Yes, jar is on classpath. But from the log it seems that toplink JPA 1.0 classes are missing for some reason (see persistence unit in project). On the contrary project CustomerDB uses JPA 2.0 and it works.
Workaround is to change toplink to eclipse JPA provider in persistence.xml.
Created attachment 121484 [details] Patch which fixes problem for me.
toplink was removed from nb distribution in 7.2, may be I miss some samples to update/ask owner to update.
Sergey, if the toplink was removed from the 7.2, why is still possible to choose it in the persistence.xml file (design multi-view part) ?.. And which persistence provider should be used instead of toplink?
Fixed in: web-main #08e2718cfc9d Vlado, could you please verify this one as well? Thanks!
issue from bug description works, deployment finishes and a new tab is opened in browser => verified Product Version: NetBeans IDE Dev (Build web-main-8358-on-20120830) Java: 1.7.0_06; Java HotSpot(TM) Client VM 23.2-b09 System: Linux version 3.2.0-29-generic-pae running on i386; UTF-8; en_US (nb)
Transplanted into the releases branch in: - http://hg.netbeans.org/releases/rev/dac232c01121 Spec. version number increased and long description changed in: - http://hg.netbeans.org/releases/rev/5f3bc57ef924
Integrated into 'main-golden', will be available in build *201208310001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-golden/rev/08e2718cfc9d User: Martin Janicek <mjanicek@netbeans.org> Log: #213747 - CustomerDBSpring sample cannot be deployed
Integrated into 'releases', will be available in build *201209010822* or newer. Wait for official and publicly available build. Changeset: http://hg.netbeans.org/releases/rev/dac232c01121 User: Martin Janicek <mjanicek@netbeans.org> Log: #213747 - CustomerDBSpring sample cannot be deployed