Jars not copied to Tomcat's lib folder

前端 未结 4 2210
北荒
北荒 2020-12-13 01:25

I am doing some basic spring stuff and stuck at some point. I am getting ClassNotFoundException whenever I deploy my application on Tomcat.

I observed

4条回答
  •  情深已故
    2020-12-13 02:06

    Go to "Project properties -> Deployment Assembly page".
    This page describes how your application will be packaged for deployment or export. And added new source "Maven dependency".

    From Deployment Assembly page, Click Add... button Then select "Java Build Path Entries" "Maven dependency" should be in the list

    It solves the issue and all jar got copied to tomcat

提交回复
热议问题