MyEclipse: Error when adding Hibernate capabilities goodridge - Jun 09, 2006 - 12:20 AM Post subject: Error when adding Hibernate capabilities
When I use the hibernate wizard to add Hibernate capabilities I get the following error:
Unable to create a new Hibernate XML Configuration file.
Error creating Hibernate config file: hibernate.cfg.xml
Here is my profile:
*** Date: Thu Jun 08 19:15:52 EDT 2006
*** System properties:
OS=Windows2000
OS version=5.0
Java version=1.5.0_06
Eclipse startup command=-os
win32
-ws
win32
-arch
x86
-launcher
C:\eclipse_3.1.2\eclipse\eclipse.exe
-name
Eclipse
-showsplash
600
-exitdata
67c_3c
-vm
C:\Java\jdk1.5.0_06/bin\javaw.exegoodridge - Jun 09, 2006 - 12:32 AM Post subject:
I also found this in the log file:
eclipse.buildId=M20060118-1600
java.version=1.5.0_06
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=en_US
Command-line arguments: -os win32 -ws win32 -arch x86
!ENTRY com.genuitec.eclipse.hibernate 1 0 2006-06-01 23:43:06.312
!MESSAGE [ERROR] ResourceManager : unable to find resource 'templates/VM_global_library.vm' in any resource loader.
!ENTRY com.genuitec.eclipse.hibernate 1 0 2006-06-01 23:43:06.343
!MESSAGE [ERROR] ResourceManager : unable to find resource 'templates/hibernatecfgxml.vm' in any resource loader.
!ENTRY com.genuitec.eclipse.hibernate 4 0 2006-06-01 23:43:06.375
!MESSAGE Error creating Hibernate config file: hibernate.cfg.xml
!STACK 0support-snpe - Jun 09, 2006 - 04:40 AM Post subject:
Goodridge ,
It looks that your installation is broken.
templates/xxx.vm are ordinal textual files and if they don't exists then installation isn't good
Bestgoodridge - Jun 09, 2006 - 12:50 PM Post subject:
I will reinstall. Thanks for responding so promptly.