Results 1 to 2 of 2
  1. #1
    escit is offline Member
    Join Date
    Aug 2007
    Posts
    2
    Rep Power
    0

    Default Initial SessionFactory creation failed

    I am trying to run "hibernateTutorial" and I have placed
    hibernet.cfg.xml as specified in tutorial but still I am getting the
    same error:

    [java] Initial SessionFactory creation failed.org.hibernate.HibernateExcept
    ion: Hibernate Dialect must be explicitly set
    [java] Exception in thread "main" java.lang.NullPointerException
    [java] at hello.HelloWorld.main(Unknown Source)
    [java] Java Result: 1


    * Folder lib:
    antlr.jar, cglib.jar, dom4j.jar, hibernate-annotations.jar, jta.jar, asm.jar, commons-collections.jar, ejb3-persistence.jar, hibernate-commons-annotations.jar, log4j.jar, asm-attrs.jar, commons-logging.jar, hibernate3.jar, hsqldb.jar, mysql-connector-java-5.0.4.jar
    * Source in file attach.
    Please help me. Thank You!
    Attached Files Attached Files

  2. #2
    escit is offline Member
    Join Date
    Aug 2007
    Posts
    2
    Rep Power
    0

Similar Threads

  1. Initial capacity of ArrayList
    By bugger in forum New To Java
    Replies: 12
    Last Post: 12-30-2009, 09:16 AM
  2. Replies: 0
    Last Post: 03-31-2008, 11:06 AM
  3. Replies: 0
    Last Post: 09-28-2007, 01:45 PM
  4. creation of new function
    By an8086 in forum Advanced Java
    Replies: 1
    Last Post: 07-16-2007, 03:20 PM
  5. creation of new folder in the mail
    By an8086 in forum Advanced Java
    Replies: 1
    Last Post: 07-15-2007, 06:10 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •