按照视频中配置了还是出错
来源:5-5 jdk、tomcat、maven配置及初始化web空白项目
河岸朱色
2019-04-07
已经按照视频中配置了还是出错
Type Status Report
Message Not found
Description The origin server did not find a current representation for the target resource or is not willing to disclose that one exists.
错误信息
F:\study_software\Programming\Java\server\apache-tomcat-9.0.12\bin\catalina.bat run
[2019-04-07 09:33:13,646] Artifact mmall:war: Waiting for server connection to start artifact deployment…
Using CATALINA_BASE: "C:\Users\Lenovo.IntelliJIdea2018.3\system\tomcat_mmall"
Using CATALINA_HOME: "F:\study_software\Programming\Java\server\apache-tomcat-9.0.12"
Using CATALINA_TMPDIR: "F:\study_software\Programming\Java\server\apache-tomcat-9.0.12\temp"
Using JRE_HOME: "F:\study_software\Programming\Java\JDK\jdk-9.0.1"
Using CLASSPATH: "F:\study_software\Programming\Java\server\apache-tomcat-9.0.12\bin\bootstrap.jar;F:\study_software\Programming\Java\server\apache-tomcat-9.0.12\bin\tomcat-juli.jar"
07-Apr-2019 21:33:15.099 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log Server version: Apache Tomcat/9.0.12
07-Apr-2019 21:33:15.103 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log Server built: Sep 4 2018 22:13:41 UTC
07-Apr-2019 21:33:15.103 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log Server number: 9.0.12.0
07-Apr-2019 21:33:15.103 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log OS Name: Windows 10
07-Apr-2019 21:33:15.104 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log OS Version: 10.0
07-Apr-2019 21:33:15.104 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log Architecture: amd64
07-Apr-2019 21:33:15.104 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log Java Home: F:\study_software\Programming\Java\JDK\jdk-9.0.1
07-Apr-2019 21:33:15.104 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log JVM Version: 9.0.1+11
07-Apr-2019 21:33:15.104 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log JVM Vendor: Oracle Corporation
07-Apr-2019 21:33:15.104 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log CATALINA_BASE: C:\Users\Lenovo.IntelliJIdea2018.3\system\tomcat_mmall
07-Apr-2019 21:33:15.106 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log CATALINA_HOME: F:\study_software\Programming\Java\server\apache-tomcat-9.0.12
07-Apr-2019 21:33:15.106 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: --add-opens=java.base/java.lang=ALL-UNNAMED
07-Apr-2019 21:33:15.107 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: --add-opens=java.base/java.io=ALL-UNNAMED
07-Apr-2019 21:33:15.107 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: --add-opens=java.rmi/sun.rmi.transport=ALL-UNNAMED
07-Apr-2019 21:33:15.107 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Djava.util.logging.config.file=C:\Users\Lenovo.IntelliJIdea2018.3\system\tomcat_mmall\conf\logging.properties
07-Apr-2019 21:33:15.107 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager
07-Apr-2019 21:33:15.107 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Dcom.sun.management.jmxremote=
07-Apr-2019 21:33:15.107 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Dcom.sun.management.jmxremote.port=1099
07-Apr-2019 21:33:15.108 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Dcom.sun.management.jmxremote.ssl=false
07-Apr-2019 21:33:15.108 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Dcom.sun.management.jmxremote.authenticate=false
07-Apr-2019 21:33:15.109 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Djava.rmi.server.hostname=127.0.0.1
07-Apr-2019 21:33:15.109 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Djdk.tls.ephemeralDHKeySize=2048
07-Apr-2019 21:33:15.109 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Djava.protocol.handler.pkgs=org.apache.catalina.webresources
07-Apr-2019 21:33:15.110 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Dignore.endorsed.dirs=
07-Apr-2019 21:33:15.111 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Dcatalina.base=C:\Users\Lenovo.IntelliJIdea2018.3\system\tomcat_mmall
07-Apr-2019 21:33:15.111 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Dcatalina.home=F:\study_software\Programming\Java\server\apache-tomcat-9.0.12
07-Apr-2019 21:33:15.111 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Djava.io.tmpdir=F:\study_software\Programming\Java\server\apache-tomcat-9.0.12\temp
07-Apr-2019 21:33:15.112 信息 [main] org.apache.catalina.core.AprLifecycleListener.lifecycleEvent Loaded APR based Apache Tomcat Native library [1.2.17] using APR version [1.6.3].
07-Apr-2019 21:33:15.112 信息 [main] org.apache.catalina.core.AprLifecycleListener.lifecycleEvent APR capabilities: IPv6 [true], sendfile [true], accept filters [false], random [true].
07-Apr-2019 21:33:15.112 信息 [main] org.apache.catalina.core.AprLifecycleListener.lifecycleEvent APR/OpenSSL configuration: useAprConnector [false], useOpenSSL [true]
07-Apr-2019 21:33:15.673 信息 [main] org.apache.catalina.core.AprLifecycleListener.initializeSSL OpenSSL successfully initialized [OpenSSL 1.0.2o 27 Mar 2018]
07-Apr-2019 21:33:15.734 信息 [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler [“http-nio-8080”]
07-Apr-2019 21:33:15.752 信息 [main] org.apache.tomcat.util.net.NioSelectorPool.getSharedSelector Using a shared selector for servlet write/read
07-Apr-2019 21:33:15.762 信息 [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler [“ajp-nio-8009”]
07-Apr-2019 21:33:15.765 信息 [main] org.apache.tomcat.util.net.NioSelectorPool.getSharedSelector Using a shared selector for servlet write/read
07-Apr-2019 21:33:15.766 信息 [main] org.apache.catalina.startup.Catalina.load Initialization processed in 1198 ms
07-Apr-2019 21:33:15.852 信息 [main] org.apache.catalina.core.StandardService.startInternal Starting service [Catalina]
07-Apr-2019 21:33:15.853 信息 [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet Engine: Apache Tomcat/9.0.12
07-Apr-2019 21:33:15.875 信息 [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler [“http-nio-8080”]
07-Apr-2019 21:33:15.905 信息 [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler [“ajp-nio-8009”]
07-Apr-2019 21:33:15.909 信息 [main] org.apache.catalina.startup.Catalina.start Server startup in 142 ms
Connected to server
[2019-04-07 09:33:16,286] Artifact mmall:war: Artifact is being deployed, please wait…
07-Apr-2019 21:33:20.028 信息 [RMI TCP Connection(3)-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.
07-Apr-2019 21:33:20.209 警告 [RMI TCP Connection(3)-127.0.0.1] org.apache.catalina.util.SessionIdGeneratorBase.createSecureRandom Creation of SecureRandom instance for session ID generation using [SHA1PRNG] took [145] milliseconds.
[2019-04-07 09:33:20,248] Artifact mmall:war: Artifact is deployed successfully
[2019-04-07 09:33:20,248] Artifact mmall:war: Deploy took 3,962 milliseconds
07-Apr-2019 21:33:25.892 信息 [ContainerBackgroundProcessor[StandardEngine[Catalina]]] org.apache.catalina.startup.HostConfig.deployDirectory Deploying web application directory [F:\study_software\Programming\Java\server\apache-tomcat-9.0.12\webapps\manager]
07-Apr-2019 21:33:25.999 信息 [ContainerBackgroundProcessor[StandardEngine[Catalina]]] org.apache.catalina.startup.HostConfig.deployDirectory Deployment of web application directory [F:\study_software\Programming\Java\server\apache-tomcat-9.0.12\webapps\manager] has finished in [107] ms
1回答
-
geelylucky
2019-04-08
tomcat和jdk的版本最好按照视频的来。注意工具的版本要一致
10
相似问题