eclipse中创建的maven项目直接部署到tomcat中报ClasNotFount,查看tomcat中发现maven中的jar包并没有复制过来。
解决方法:项目右键=》Properties=》My Eclipse=》Deployment Assembly=》右侧add=》Java Build Path Entries =》Maven Dependencies
eclipse中创建的maven项目直接部署到tomcat中报ClasNotFount,查看tomcat中发现maven中的jar包并没有复制过来。
解决方法:项目右键=》Properties=》My Eclipse=》Deployment Assembly=》右侧add=》Java Build Path Entries =》Maven Dependencies