MyEclipse: Hibernate reverse engineering internal error
chalksb - Nov 20, 2011 - 07:32 PM
Post subject: Hibernate reverse engineering internal error
I tried to reverse engineer hibernate from MySQL database.
While processing the MyEclipse IDE threw an error: An internal error occurred during: "Generating Artifacts".
Could not initialize class org.hibernate.util.ReflectHelper
And wouldn't finish generation.
I'm running on Windows 7, JDK6.
I use latest MyEclipse 10. Even though I have hibernate libraries in my classpath, In the logs I see:
!ENTRY org.eclipse.core.jobs 4 2 2011-11-20 11:24:00.639
!MESSAGE An internal error occurred during: "Generating Artifacts".
java.lang.NoClassDefFoundError: Could not initialize class org.hibernate.util.ReflectHelper
support-tony - Nov 21, 2011 - 07:21 AM
Sorry you are seeing this problem.
I'm unable to replicate the problem on Windows 7 - 64 bit, using 64-bit installations of MyEclipse and MySQL. Is that the same configuration as you have?
The class not found problem is occurring in the Hibernate tools, not your project, so your project's class path should not affect this, anyway. It looks like your MyEclipse installation or instance might be corrupted, for some reason. Please try the following actions:
* Try a new workspace, import your project into the new workspace and try to reverse engineer again.
* If that doesn't work, try adding a -clean flag for one launch of MyEclipse and attempt your reverse engineering again.
* If neither of the above works, try re-installing. You can choose to repair an existing installation, or install a new copy, during the install.
If you still have problems. Please delete your .log file (in the .metadata folder of your workspace), relaunch MyEclipse, try reverse engineering again and attach the resultant .log file here.
All times are GMT - 6 Hours
Powered by PNphpBB2
© 2003-2004 The PNphpBB GroupCredits