facebook

Error when adding Hibernate capabilities

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

    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

    #253305 Reply

    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

    #253321 Reply

    Haris Peco
    Member

    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

    #253329 Reply

    I will reinstall. Thanks for responding so promptly.

Viewing 4 posts - 1 through 4 (of 4 total)
Reply To: Error when adding Hibernate capabilities

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