- This topic has 3 replies, 2 voices, and was last updated 18 years, 4 months ago by William Goodridge.
-
AuthorPosts
-
William GoodridgeMemberWhen 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.xmlHere 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*** MyEclipse details:
MyEclipse Enterprise WorkbenchVersion: 4.1.1 GA
Build id: 20060309-4.1.1-GA*** Eclipse details:
Eclipse SDKVersion: 3.1.2
Build id: M20060118-1600Eclipse Platform
Version: 3.1.2
Build id: M20060118-1600Eclipse Java Development Tools
Version: 3.1.2
Build id: M20060118-1600Eclipse Graphical Editing Framework
Version: 3.1
Build id: 200509301327Eclipse RCP
Version: 3.1.2
Build id: M20060118-1600Eclipse Plug-in Development Environment
Version: 3.1.2
Build id: M20060118-1600Eclipse Project SDK
Version: 3.1.2
Build id: M20060118-1600Eclipse 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.exe
William GoodridgeMemberI 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 0
Haris PecoMemberGoodridge ,
It looks that your installation is broken.
templates/xxx.vm are ordinal textual files and if they don’t exists then installation isn’t goodBest
William GoodridgeMemberI will reinstall. Thanks for responding so promptly.
-
AuthorPosts