在idea上面部署成功后,运行结果如下,但是网页端依旧404
Type Status Report
Message /private/login
Description The origin server did not find a current representation for the target resource or is not willing to disclose that one exists.
数据库也为创建成功
运行结果:
05-Jan-2018 10:34:07.009 信息 [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet Engine: Apache Tomcat/8.5.24
05-Jan-2018 10:34:07.023 信息 [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-8080"]
05-Jan-2018 10:34:07.041 信息 [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["ajp-nio-8009"]
05-Jan-2018 10:34:07.048 信息 [main] org.apache.catalina.startup.Catalina.start Server startup in 88 ms
Connected to server
[2018-01-05 10:34:07,170] Artifact wk-web:war exploded: Artifact is being deployed, please wait...
05-Jan-2018 10:34:10.450 信息 [RMI TCP Connection(2)-127.0.0.1] org.apache.jasper.servlet.TldScanner.scanJars At least one JAR was scanned for TLDs yet contained no TLDs. Enable debug logging for this logger for a complete list of JARs that were scanned but no TLDs were found in them. Skipping unneeded JARs during scanning can improve startup time and JSP compilation time.
[2018-01-05 10:34:10,586] Artifact wk-web:war exploded: Artifact is deployed successfully
[2018-01-05 10:34:10,586] Artifact wk-web:war exploded: Deploy took 3,416 milliseconds
05-Jan-2018 10:34:13.143 信息 [http-nio-8080-exec-3] org.apache.tomcat.util.http.parser.Cookie.logInvalidHeader A cookie header was received [1512522628,1512525087,1512526955] that contained an invalid cookie. That cookie will be ignored.Note: further occurrences of this error will be logged at DEBUG level.
05-Jan-2018 10:34:17.027 信息 [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployDirectory Deploying web application directory [/Volumes/i-work/workSpace/workTools/Java/apache-tomcat-8.5.24/webapps/manager]
05-Jan-2018 10:34:17.067 信息 [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployDirectory Deployment of web application directory [/Volumes/i-work/workSpace/workTools/Java/apache-tomcat-8.5.24/webapps/manager] has finished in [40] ms
[2018-01-05 10:35:03,395] Artifact wk-web:war exploded: Artifact is deployed successfully