Stepan Yakovenko
Stepan Yakovenko

Reputation: 9216

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.

Upvotes: 0

Views: 535

Answers (2)

Peter Huang
Peter Huang

Reputation: 1198

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

Upvotes: 1

Stepan Yakovenko
Stepan Yakovenko

Reputation: 9216

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

Upvotes: 1

Related Questions