Sunday, September 22, 2013

Maven : Jars not copied to Tomcat's lib folder

Sometime you might run into problem with Maven, You can see the Maven dependencies but they are not copied to servers lib folder and hence class not found exception will be thrown.
Here is a simple solution for it. In Eclipse go to "Project properties -> Deployment Assembly page".
This page describes how your app will be packaged for deployment or export. Add a new source "Maven dependency". It will solve the issue and jars will be copied to the server.

No comments:

Post a Comment