This week's book giveaway is in the OO, Patterns, UML and Refactoring forum. We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line! See this thread for details.
I have all the jar files, namely, ejb3-persistence, hibernate3, hibernate.cfg, hibernate-annotations, hibernate-commons-annotations, hibernate-entitymanager and hibernate-validator in both classpath and Tomcat lib file. What could be the reason.
Which class is using the class that can't be found. Package the jar along with that class, not just on the JVM or Tomcats classpath. Various components have different classloaders and this can trigger just these types of problems.
Joined: Apr 01, 2003
When I came to know that validating can also be done using Hibernate, I started using the same "C:\_hiblib" for this also. I was using Log4j also in my program . In one of the JBOSS forums, I read that duplicate declarations cause problems . Now the issue is resolved.