MyEclipse Forums
Post new topic   Reply to topic
View previous topic Printable version Log in to check your private messages View next topic
Author Message
davemeurer
Post subject: DWR Deployment Error - workaround provided  PostPosted: Apr 07, 2010 - 09:17 PM



Joined: Jan 20, 2010
Posts: 191

After enabling DWR for a service and deploying to the Integrated Sandbox Environment, users may receive the following error:
java.lang.NoClassDefFoundError: Could not initialize class net.sf.cglib.proxy.Enhancer

This error is due to the fact that DWR needs classes in the cglib-nodep-2.1_3.jar located in the Spring 2.5 AOP Libraries classpath container, however, it is using the cglib-2.1.3 jar from the Hibernate 3.2 Core Libraries classpath container.

RESOLUTION: To fix the DWR deployment issue above, please follow these steps:
1. Go to Window > Preferences on the file menu
2. Navigate to MyEclipse > Project Capabilities > Hibernate > Hibernate 3.2 tab > Choose Hibernate 3.2 Core Libraries for the Library modules drop down
3. Highlight the cglib-2.1.3.jar entry, and click Remove
4. Click the Add JAR/Zip button, and add the cglib-nodep-2.1_3.jar found in the Spring 2.5 AOP Libraries classpath container.
5. Click OK. Refresh the project and redeploy.
 
 View user's profile Send private message  
Reply with quote Back to top
support-ram
Post subject: RE: DWR Deployment Error - workaround provided  PostPosted: Apr 13, 2010 - 09:52 AM
Registered Member
Registered Member


Joined: Apr 05, 2010
Posts: 58

davemeurer,

Glad you found the solution. Thanks for letting us know.

_________________
Ram
MyEclipse Support
 
 View user's profile Send private message  
Reply with quote Back to top
Display posts from previous:     
Jump to:  
All times are GMT - 6 Hours
Post new topic   Reply to topic
View previous topic Printable version Log in to check your private messages View next topic
Powered by PNphpBB2 © 2003-2004 The PNphpBB Group
Credits