Post new topic   Reply to topic
View previous topic Printable version Log in to check your private messages View next topic
Author Message
goodridge
Post subject: Error when adding Hibernate capabilities  PostPosted: Jun 09, 2006 - 12:20 AM
Veteran Member
Veteran Member


Joined: Feb 24, 2004
Posts: 3

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

*** MyEclipse details:
MyEclipse Enterprise Workbench

Version: 4.1.1 GA
Build id: 20060309-4.1.1-GA

*** Eclipse details:
Eclipse SDK

Version: 3.1.2
Build id: M20060118-1600

Eclipse Platform

Version: 3.1.2
Build id: M20060118-1600

Eclipse Java Development Tools

Version: 3.1.2
Build id: M20060118-1600

Eclipse Graphical Editing Framework

Version: 3.1
Build id: 200509301327

Eclipse RCP

Version: 3.1.2
Build id: M20060118-1600

Eclipse Plug-in Development Environment

Version: 3.1.2
Build id: M20060118-1600

Eclipse Project SDK

Version: 3.1.2
Build id: M20060118-1600

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.exe
 
 View user's profile Send private message Visit poster's website  
Reply with quote Back to top
goodridge
Post subject:   PostPosted: Jun 09, 2006 - 12:32 AM
Veteran Member
Veteran Member


Joined: Feb 24, 2004
Posts: 3

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 0
 
 View user's profile Send private message Visit poster's website  
Reply with quote Back to top
support-snpe
Post subject:   PostPosted: Jun 09, 2006 - 04:40 AM
Moderator
Moderator


Joined: Feb 03, 2006
Posts: 1117

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

Best
 
 View user's profile Send private message  
Reply with quote Back to top
goodridge
Post subject:   PostPosted: Jun 09, 2006 - 12:50 PM
Veteran Member
Veteran Member


Joined: Feb 24, 2004
Posts: 3

I will reinstall. Thanks for responding so promptly.
 
 View user's profile Send private message Visit poster's website  
Reply with quote Back to top
Display posts from previous:     
Jump to:  
All times are GMT - 6 Hours
Post new topic   Reply to topic
View previous topic Printable version Log in to check your private messages View next topic
Powered by PNphpBB2 © 2003-2004 The PNphpBB Group
Credits