Roel De Nijs wrote:Seems you have posted exactly the same question on SO. Please BeForthrightWhenCrossPostingToOtherSites. Thanks!
Roel De Nijs wrote:First thing to verify: can you find the org.hibernate.MappingException class in one of your dependencies? If you can, is this jar part of your classpath?
Jason Trinity wrote:Would just adding something like (crosspost from Stackoverflow) on the title be enough, or is x-posting forbidden? I'm just trying to reach more people.
Jason Trinity wrote:hibernate-core-3.6.10.Final.jar has org.hibernate.MappingException.class, and it's in my classpath
Jason Trinity wrote:I just started working in this project a few weeks ago and its been running as an Eclipse Application for years. I don't know how much work would be to run it as a Java Application, but I can try.
Jason Trinity wrote:-The project already had hibernate. It had a hibernate3.jar that I figured out was hibernate-3.6.0-CR2. I replaced it with hibernate-core-3.6.10.Final.jar. The code ran fine.
-Added ehcache-core-2.4.3.jar and hibernate-ehcache-3.6.10.Final.jar, and the code worked fine.
-Added the following lines to the project's config file in the <bean id="sessionFactory" class="org.springframework.orm.hibernate3.annotation.AnnotationSessionFactoryBean"> bean, under <property name="hibernateProperties">
and I get the error java.lang.ClassNotFoundException: net.sf.ehcache.hibernate.EhCacheRegionFactory cannot be found
All of the world's problems can be solved in a garden - Geoff Lawton. Tiny ad:
RavenDB is an Open Source NoSQL Database that’s fully transactional (ACID) across your databasehttps://coderanch.com/t/704633/RavenDB-Open-Source-NoSQL-Database