This week's book giveaway is in the Jython/Python forum.
We're giving away four copies of Murach's Python Programming and have Michael Urban and Joel Murach on-line!
See this thread for details.
Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

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

 
Jay Chmiel
Greenhorn
Posts: 8
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Jay, Did you ever figure out the problem? I'm dealing with the same thing a year later.

-joe
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!