Spring: Export -> WAR file -> 404 Not Found 问题

Every time the deployment WAR projects are more complicated thing, surely most do not want to appear is this:

How can a project to deploy safely and easily?
1. Spring frameworks like Jar files into separate folder in the lib
develon@local:~/tomcat8$ ls lib/spring
commons-fileupload-1.3.2.jar      spring-context-support-4.3.9.RELEASE.jar    spring-orm-4.3.9.RELEASE.jar
commons-io-2.5.jar                spring-core-4.3.9.RELEASE.jar               spring-oxm-4.3.9.RELEASE.jar
commons-logging-1.2.jar           spring-expression-4.3.9.RELEASE.jar         spring-test-4.3.9.RELEASE.jar
mysql-connector-java-8.0.16.jar   spring-instrument-4.3.9.RELEASE.jar         spring-tx-4.3.9.RELEASE.jar
spring-aop-4.3.9.RELEASE.jar      spring-instrument-tomcat-4.3.9.RELEASE.jar  spring-web-4.3.9.RELEASE.jar
spring-aspects-4.3.9.RELEASE.jar  spring-jdbc-4.3.9.RELEASE.jar               spring-webmvc-4.3.9.RELEASE.jar
spring-beans-4.3.9.RELEASE.jar    spring-jms-4.3.9.RELEASE.jar                spring-webmvc-portlet-4.3.9.RELEASE.jar
spring-context-4.3.9.RELEASE.jar  spring-messaging-4.3.9.RELEASE.jar          spring-websocket-4.3.9.RELEASE.jar

Guess you like

Origin www.cnblogs.com/develon/p/11488326.html