facebook

[Closed] An internal error occurred "Generating Artifac

  1. MyEclipse IDE
  2.  > 
  3. Java EE Development (EJB, JSP, Struts, XDoclet, etc.)
Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #247767 Reply

    Tringle
    Member

    I 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!

    #247769 Reply

    Tringle
    Member

    It’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?

    #247775 Reply

    Brian Fernandes
    Moderator

    Tringle,

    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.

    #248929 Reply

    cooljam
    Member

    The same problem appeared in my MyEclips 4.10GA.

    My MyEclips is not installed over an older version.

    How to fix this problem?

    #248930 Reply

    Brian Fernandes
    Moderator

    Cooljam,

    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.

    #259335 Reply

    herve.labboz
    Member

    Hi,
    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é.

    #259337 Reply

    Brian Fernandes
    Moderator

    Hervé,

    I would need all questions in Posting Guidelines answered to help you out.

    Best,
    Brian.

Viewing 7 posts - 1 through 7 (of 7 total)
Reply To: [Closed] An internal error occurred "Generating Artifac

You must be logged in to post in the forum log in