facebook

[Closed] Hiberate generate hbm doesn’t work with 4.1GA

  1. MyEclipse Archived
  2.  > 
  3. Database Tools (DB Explorer, Hibernate, etc.)
Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #245911 Reply

    ron mccamish
    Member

    Like others, I get the Generating Artifacts error when trying to create a hibernate config file. I’m using
    4.1GA.

    ron….

    Error:

    Error 2006-02-02 11:26:47.668 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)

    Config:

    *** Date: Thu Feb 02 11:27:39 EST 2006

    *** System properties:
    OS=WindowsXP
    OS version=5.1
    Java version=1.4.2_04

    *** MyEclipse details:
    MyEclipse Enterprise Workbench

    Version: 4.1.0 GA
    Build id: 20060122-4.1-GA

    *** Eclipse details:
    Eclipse SDK

    Version: 3.1.1
    Build id: M20050929-0840

    Eclipse Project SDK

    Version: 3.1.1
    Build id: M20050929-0840

    Eclipse Platform

    Version: 3.1.1
    Build id: M20050929-0840

    Eclipse Java Development Tools

    Version: 3.1.1
    Build id: M20050929-0840

    Eclipse Graphical Editing Framework

    Version: 3.1
    Build id: 200509301327

    Eclipse RCP

    Version: 3.1.1
    Build id: M20050929-0840

    Eclipse Plug-in Development Environment

    Version: 3.1.1
    Build id: M20050929-0840

    Eclipse startup command=-os
    win32
    -ws
    win32
    -arch
    x86
    -launcher
    C:\eclipse-new\eclipse311\eclipse.exe
    -name
    Eclipse
    -showsplash
    600
    -exitdata
    cac_30
    -data
    C:\dev\rmccamish_CrewComm.R3\workspace
    -vm
    C:\bea\jdk142_04\bin\javaw.exe

    #245918 Reply

    Riyad Kalla
    Member

    Ron,
    When you upgraded MyEclipse did you happen to install 4.1 ontop of 4.0?

    #245922 Reply

    ron mccamish
    Member

    Yes, I did.

    #245926 Reply

    Riyad Kalla
    Member

    That’s the problem, what you will need to do is shutdown MyEclipse, uninstall MyEclipse and manually erase your old MyEclipse directory, then re-run the installer and add -clean to your command line arguments and restart. No settings should be lost, you might get a notice about “Unable to restore layout”, that is harmless. After starting back up, try and regenerate the mappings.

    #245928 Reply

    ron mccamish
    Member

    I’ll gave that a try. Was this in the GA release notes?

    #245933 Reply

    Riyad Kalla
    Member

    3rd paragraph:
    ————-
    Please refer to the special instructions if upgrading from a previous MyEclipse release. Also note that you must download Eclipse 3.1.1 to use with the latest release. Make sure that you have JDK 1.5 installed to use the UML Modeler on Linux and 1.4.2_05+ or JDK 1.5 for Windows. Unfortunately, due to an Eclipse bug, our Mac users will not be able to access the UML capabilities.
    ————-

    #245966 Reply

    ron mccamish
    Member

    This worked. Thanks!

Viewing 7 posts - 1 through 7 (of 7 total)
Reply To: [Closed] Hiberate generate hbm doesn’t work with 4.1GA

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