aspose file tools*
The moose likes Tomcat and the fly likes class path resource [hbm.xml] cannot be opened because it does not exist Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Products » Tomcat
Bookmark "class path resource [hbm.xml] cannot be opened because it does not exist" Watch "class path resource [hbm.xml] cannot be opened because it does not exist" New topic
Author

class path resource [hbm.xml] cannot be opened because it does not exist

Jay Chmiel
Greenhorn

Joined: Mar 13, 2009
Posts: 8
As in title - tomcat doesn't see the hibernate mapping file although it is in place. Here is fragment of my applicationContext-hibernate.xml:


Thats what tomcat says when trying to deploy my webapp:


applicationContext-hibernate.xml as well as bloggy.hbm.xml are in /WEB-INF/ directory. What is interesting is that this code works under jboss-5.0.0.CR2(release candidate), but under jboss-5.0.0.GA (stable) and jboss-5.0.1.GA (stable) same problem appears. Thanks for help in adv.
Joe Croft
Greenhorn

Joined: Jun 03, 2010
Posts: 5
Jay, Did you ever figure out the problem? I'm dealing with the same thing a year later.

-joe
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: class path resource [hbm.xml] cannot be opened because it does not exist