Set eclipse maven web project package

Figure: maven eclipse next web project, the deployment package to the local tomcat, need to focus on two aspects:

1. src / main / webapp directory in the file, the next package / root

2. Add the maven dependency, packed into WEB-INF / lib path, lack of this, there is no local tomcat package lib

 

Guess you like

Origin www.cnblogs.com/enjoyjava/p/11729149.html