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.
- Create Jee5 Web Project . - Generate RESTful from DB. - Deploy project on J2EE server ( I have used GF2 ). There is a runtime exception : Unexpected exception parsing XML document from ServletContext resource [/WEB-INF/applicationContext.xml]; nested exception is java.lang.NoClassDefFoundError: org/aopalliance/intercept/MethodInterceptor The cause of this exception is aopalliance.jar absence in the classpath . This is the url of the library : http://sourceforge.net/projects/aopalliance/files/aopalliance/1.0/
Addition : I forgot to mention that Project should be created with Spring framework.
I am able to reproduce (with GF 3.1 Promoted Build).
changeset: 185073:ee7c4cafb7b1 user: Denis Anisimov <ads@netbeans.org> date: Thu Dec 23 11:55:25 2010 +0300 summary: Fix for BZ#193626 - RESTful WS from DB ( or entities ) doesn't work with Spring 3
Integrated into 'main-golden', will be available in build *201012290001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main/rev/ee7c4cafb7b1 User: Denis Anisimov <ads@netbeans.org> Log: Fix for BZ#193626 - RESTful WS from DB ( or entities ) doesn't work with Spring 3
Documentation, particularly the Getting Started With RESTful Web Services tutorial, must reflect this.
*** Bug 195547 has been marked as a duplicate of this bug. ***
Revision: 11625 Author: jeff_rubinoff Date: 2011-02-16 15:01 Message: added instructions for adding aopalliance.jar to Spring applications Issue #193626 - RESTful WS from DB ( or entities ) doesn't work with Spring 3