• Post Reply Bookmark Topic Watch Topic
  • New Topic

Issue in reading hbm.xml file

 
rahul S Sharma
Greenhorn
Posts: 21
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi all,

I am very new to hibernate and facing a very strange problem. When i run my program, it runs fine until my system is connected with internet but when i disconnect my system from internet, it gives an exception "Exception in thread "main" java.lang.NullPointerException Could not read mappings from resource: student.hbm.xml". Can somebody help me to find the solution of this problem..


regards
 
Vijitha Kumara
Bartender
Posts: 3953
21
Chrome Fedora Hibernate
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
when i disconnect my system from internet, it gives an exception "Exception in thread "main" java.lang.NullPointerException Could not read mappings from resource: student.hbm.xml".

I highly doubt that is due to a network issue unless you are reading your hbm files from other location in the network... What kind of application is this? Please read TellTheDetails.
 
Happiness is not a goal ... it's a by-product of a life well lived - Eleanor Roosevelt. Tiny ad:
the new thread boost feature: great for the advertiser and smooth for the coderanch user
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!