Monday, June 1, 2009

Axis2 Service Archiver java.lang.NoClassDefFoundError

Problem:
When running the Axis2 Service Archiver, I got the following error: java.lang.NoClassDefFoundError



Solution:
1. Close Eclipse.
2. Open an explore window and navigate to your workspace. Under your workspace folder, open .metadata folder and then open .plugins folder, and then open the Axis2_Service_Archiver folder. Now you should see a file called "dialog_settings.xml", delete that file.
3. Restart Eclipse.

Looks like Eclipse cashed plugin related information in that xml file. If something is wrong in that xml file, you'll get this error.

No comments: