- This topic has 2 replies, 2 voices, and was last updated 16 years, 3 months ago by Ale W. Feltes Quenhan.
Viewing 3 posts - 1 through 3 (of 3 total)
-
AuthorPosts
-
Ale W. Feltes QuenhanMemberIf I want to generate annotated classes, from MyEclipse Hibernate, but I get this error:
An internal error occurred during: "Generating Artifacts". MethodInvocationException while processing template Pojo. Invocation of method 'get' in class com.genuitec.eclipse.hibernate.tool.hbm2x.VTemplateHelper$Templates threw exception class org.hibernate.tool.hbm2x.ExporterException : MethodInvocationException while processing template pojo/PojoPropertyAccessors.vm. Invocation of method 'get' in class com.genuitec.eclipse.hibernate.tool.hbm2x.VTemplateHelper$Templates threw exception class org.hibernate.tool.hbm2x.ExporterException : MethodInvocationException while processing template pojo/Ejb3PropertyGetAnnotation.vm. Invocation of method 'generateAnnIdGenerator' in class com.genuitec.eclipse.hibernate.wizards.MEEntityPOJOClass threw exception class java.lang.NullPointerException : null
If I use, old xml based, mapping solution, it works.
I tried with the a simple table with only two columns, no foreign keys, and it doesn’t work either.
Any ideas what might be the problem?
Loyal WaterMemberCan you go to MyEclipse > Installation Summary > Installation Details and paste the information here for me.
I hope you working with Hibernate 3.2.
Ale W. Feltes QuenhanMemberI don’t understand. Doesn’t MyEclipse comes with hibernate libraries already?
When I added Hibernate capabilities to the project, MyEclipse automatically added the libraries to it.For what is worth, here is the configuration you asked. But I don’t see anything related to Hibernate.
*** Date: Friday, September 12, 2008 11:01:41 AM VET ** System properties: OS=WindowsXP OS version=5.1 Java version=1.5.0_11 *** MyEclipse details: MyEclipse Enterprise Workbench Version: 6.5.1 GA Build id: 6.5.1-GA-20080715 *** Eclipse details: MyEclipse Enterprise Workbench Version: 6.5.1 GA Build id: 6.5.1-GA-20080715 Eclipse Platform Version: 3.3.3.r33x_r20080129-_19UEl7Ezk_gXF1kouft Build id: M20080221-1800 Eclipse RCP Version: 3.3.3.r33x_r20080129-8y8eE9UEUWI6qujeED0xT7bc Build id: M20080221-1800 Eclipse Java Development Tools Version: 3.3.2.r33x_r20080129-7o7jE7_EDhYDiyVEnjb1pFd7ZGD7 Build id: M20080221-1800 Eclipse Plug-in Development Environment Version: 3.3.3.r33x_r20080129-7N7M5DQVIA_6oJsEFkEL Build id: M20080221-1800 Eclipse Project SDK Version: 3.3.3.r33x_r20080129-7M7J7LB-u3aphGW6o3_VmiVfGXWO Build id: M20080221-1800 Eclipse Graphical Editing Framework Version: 3.3.2.v20080129 Build id: 20080221-1602 Eclipse startup command=-os win32 -ws win32 -arch x86 -showsplash -launcher C:\Archivos de programa\MyEclipse 6.5\eclipse\eclipse.exe -name Eclipse --launcher.library C:\Archivos de programa\MyEclipse 6.5\eclipse\plugins\org.eclipse.equinox.launcher.win32.win32.x86_1.0.3.R33x_v20080118\eclipse_1023.dll -startup C:\Archivos de programa\MyEclipse 6.5\eclipse\plugins\org.eclipse.equinox.launcher_1.0.1.R33x_v20080118.jar -exitdata 538_6c -clean -vm C:\Archivos de programa\MyEclipse 6.5\jre\bin\javaw.exe
-
AuthorPosts
Viewing 3 posts - 1 through 3 (of 3 total)