MyEclipse Forums
This thread has been locked & this forum has been archived.
Please post new topics to Java EE Development (EJB, JSP, Struts, XDoclet, etc.)
View previous topic Printable version Log in to check your private messages View next topic
Author Message
chalksb
Post subject: Hibernate reverse engineering internal error  PostPosted: Nov 20, 2011 - 07:32 PM



Joined: Nov 20, 2011
Posts: 4

Hi,

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".
!STACK 0
java.lang.NoClassDefFoundError: Could not initialize class org.hibernate.util.ReflectHelper
at org.hibernate.console.ConsoleConfiguration.configureStandardConfiguration(ConsoleConfiguration.java:581)
at org.hibernate.console.ConsoleConfiguration$2.execute(ConsoleConfiguration.java:230)
at org.hibernate.console.execution.DefaultExecutionContext.execute(DefaultExecutionContext.java:64)
at org.hibernate.console.ConsoleConfiguration.buildWith(ConsoleConfiguration.java:206)
at com.genuitec.eclipse.hibernate.wizards.MEConsoleConfiguration.buildWith(MEConsoleConfiguration.java:125)
at com.genuitec.eclipse.hibernate.wizards.GenerateArtifactsJob.buildConfiguration(GenerateArtifactsJob.java:853)
at com.genuitec.eclipse.hibernate.wizards.GenerateArtifactsJob.run(GenerateArtifactsJob.java:412)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)

Thanks,
Chalk
 
 View user's profile Send private message  
Reply with quote Back to top
support-tony
Post subject:   PostPosted: Nov 21, 2011 - 07:21 AM



Joined: Mar 09, 2011
Posts: 916

Chalk,

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.

_________________
Tony
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
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.
View previous topic Printable version Log in to check your private messages View next topic
Powered by PNphpBB2 © 2003-2004 The PNphpBB Group
Credits