- 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/
I forgot to mention that Project should be created with Spring framework.
I am able to reproduce (with GF 3.1 Promoted Build).
user: Denis Anisimov <firstname.lastname@example.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)
User: Denis Anisimov <email@example.com>
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. ***
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