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
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Products » Tomcat
Reply 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://zeroturnaround.com/jrebel - it saves me about five hours per week
 
subject: class path resource [hbm.xml] cannot be opened because it does not exist
 
Similar Threads
Tomcat + Spring + Hibernate: PropertyNotFoundException
how do i solve this error caused due to problem in spring initiation on tomcat
IllegalStateException
Web application
Error defining a bean. Please help