The case is a web application running under tomcat. Hibernate session is created in a common jar file while the mapping annotated classes are located in different jars based on their functionality. All the jar files are in WEB-INF/lib of course.
Code:
<mapping class="ca.cbc.webmill.cacher.CacherData"/>
Does not have any effect and it seems hibernate could not find the class - it is not complaining though - I tried using jar option too, but then noticed that there is a problem and the option is not portable in none JEE envs.
Please help me to figure out how to solve this issue.