- This topic has 6 replies, 4 voices, and was last updated 18 years, 1 month ago by Brian Fernandes.
-
AuthorPosts
-
TringleMemberI tried to use the function “Create Hibernate Mapping” in the DB Brower , but when I finished the configuration and clicked the “OK” button ,The Eclipse could not create the hibernate mapping file but show the following error:
An internal error occurred during: “Generating Artifacts”.
java.lang.IncompatibleClassChangeError
at org.hibernate.console.ConsoleConfiguration.buildWith(ConsoleConfiguration.java:109)
at com.genuitec.eclipse.hibernate.wizards.GenerateArtifactsJob.buildConfiguration(GenerateArtifactsJob.java:374)
at com.genuitec.eclipse.hibernate.wizards.GenerateArtifactsJob.run(GenerateArtifactsJob.java:255)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:76)Who can tell me why and help me to fix this error?
Thanks a lot!
TringleMemberIt’s very strange. Just now I download the lasted edition of Eclipse_SDK 3.1.2 and layed over the old edition ,then the error disappeared. Is that error a bug of the edition of 3.1.1?
Brian FernandesModeratorTringle,
This is a configuration problem caused by having 2 versions of the same plugins in your eclipse installation. Perhaps you the HIbernate Tools plugin for JBoss installed in your eclipse 3.1.1 installation. This problem can also be caused by installing an newer version of MyEclipse over an older version, which uninstalling the older version first.
So this certainly isn’t a bug with Eclipse 3.1.1, but just a configuration issue which resolved itself when you moved 🙂
Let us know if you require further assistance,
Best,
Brian.
cooljamMemberThe same problem appeared in my MyEclips 4.10GA.
My MyEclips is not installed over an older version.
How to fix this problem?
Brian FernandesModeratorCooljam,
As I mentioned in the above post, you might have Hibernate Tools from JBoss installed against the same version of eclipse in which MyEclipse is installed. Can you check this out?
If this is the case, MyEclipse 4.1.1 has increased compatability with such configurations and I would suggest downloading that to pick up many bug fixes and enhancements as well.
If you still experience problems, please answer all questions here: Posting Guidelines
Best,
Brian.
herve.labbozMemberHi,
I use this configuration : MyEclipse 4.1.1 and Eclipse 3.1.1
I still have error when I try to create hibernate mapping.
I think it’s just a configuration problem because few weeks ago it was ok !Can you help me ?
Thinks,
Hervé.
Brian FernandesModerator -
AuthorPosts