简体   繁体   中英

Deploying war file on linux tomcat with spring

I've got .war file that works fine in windows tomcat 7.0.40. But on Linux I get following:

java.lang.NoClassDefFoundError: org/springframework/orm/jpa/EntityManagerFactoryUtils

and my spring app doesn't work. What can be wrong? jar file spring-orm-3.2.2.RELEASE.jar is there in webapps. What can be wrong?

Thanx.

I've resolved the problem by reinstalling tomcat on Debian with --purge option. The reason remains secret.

I had same problem before. I remove the tomcat completely and reinstalled it, then it worked. try it.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM