Java Forums

Main Menu
Home
Today's Posts
FAQ
Search
Contact Us

Java Network
Java Tips
Java Tips Blog

Sponsored Links





Welcome to the Java Forums.

You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community, you will:

  • have access to post topics
  • communicate privately with other members (PM)
  • not see advertisements between posts
  • have the possibility to earn one of our surprises if you are an active member
  • access many other special features that will be introduced later.

Registration is fast, simple and absolutely free so please, join our community today!

If you have any problems with the registration process or your account login, please contact us.

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 08-10-2007, 05:22 AM
Member
 
Join Date: Aug 2007
Posts: 2
escit is on a distinguished road
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
File Type: zip hibernateTutorial.zip (2.8 KB, 17 views)
Bookmark Post in Technorati
Reply With Quote
Sponsored Links
  #2 (permalink)  
Old 08-13-2007, 04:46 AM
Member
 
Join Date: Aug 2007
Posts: 2
escit is on a distinguished road
Help me. Help me
Bookmark Post in Technorati
Reply With Quote
Sponsored Links
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
How to select Initial Web Configuration to effect the scoping of beans at the request Java Tip Java Tips 0 03-31-2008 11:06 AM
Initial capacity of ArrayList bugger New To Java 10 12-06-2007 01:25 PM
How to select Initial Web Configuration to effect the scoping of beans at the request JavaBean Java Tips 0 09-28-2007 01:45 PM
creation of new function an8086 Advanced Java 1 07-16-2007 03:20 PM
creation of new folder in the mail an8086 Advanced Java 1 07-15-2007 06:10 PM


All times are GMT +3. The time now is 05:57 AM.


VBulletin, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright ©2006 - 2007, www.java-forums.org