Reputation: 953
Recently I just switched from Myeclipse 2014 (spring version) to Eclipse Java EE. having add tomcat 6 and afterwards deploying my web project(war packaging) into that, seeing that none of it's dependencies added into folder WEB-INF/classes and I get ClassNotFoundException all the time. deploying this project into Myeclipse tomcat works out fine. why is that happening?
Upvotes: 2
Views: 1034
Reputation: 673
You should check the project facet for web project and add dependencies to deployment assembly.
Upvotes: 2