Under no lib Idea in SpringMVC project to build, deploy package

Problem:
build springMVC project idea in time, a direct reference to the jar Spring offer when deployed to tomcat8, has been an error, classNotFound: DisapatcherServlet,

originally thought the introduction of Spring in the root directory of the package on the line, the result has been an error.

Check the configuration no problem, lib also check the idea deployment path, see the problem

 

Point into this directory, and we discovered that there is no lib WEB-INF folder, which is I can not find this lib of tomcat

The root of the generation that lib, copy directly to the project in the WEB-INF, redeployment resolved.

 

Guess you like

Origin www.cnblogs.com/motorye/p/12566655.html