• Post Reply Bookmark Topic Watch Topic
  • New Topic

Issue in reading hbm.xml file  RSS feed

 
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: 3974
24
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.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!