tomcat启动乱码问题,而且还报404
D:\apache-tomcat-9.0.14\bin\catalina.bat run
[2019-03-18 10:00:00,117] Artifact JDBCMessageBoard:war exploded: Waiting for server connection to start artifact deployment...
Using CATALINA_BASE: "C:\Users\Administrator\.IntelliJIdea2018.3\system\tomcat\Unnamed_JDBCMessageBoard"
Using CATALINA_HOME: "D:\apache-tomcat-9.0.14"
Using CATALINA_TMPDIR: "D:\apache-tomcat-9.0.14\temp"
Using JRE_HOME: "C:\Program Files\Java\jdk-10.0.1"
Using CLASSPATH: "D:\apache-tomcat-9.0.14\bin\bootstrap.jar;D:\apache-tomcat-9.0.14\bin\tomcat-juli.jar"
18-Mar-2019 22:00:16.741 淇℃伅 [main] org.apache.catalina.startup.VersionLoggerListener.log Server.鏈嶅姟鍣ㄧ増鏈�: Apache Tomcat/9.0.14
18-Mar-2019 22:00:16.792 淇℃伅 [main] org.apache.catalina.startup.VersionLoggerListener.log Server.鏋勫缓: Dec 6 2018 21:13:53 UTC
18-Mar-2019 22:00:16.801 淇℃伅 [main] org.apache.catalina.startup.VersionLoggerListener.log Server version number: 9.0.14.0
18-Mar-2019 22:00:16.802 淇℃伅 [main] org.apache.catalina.startup.VersionLoggerListener.log OS Name: Windows 7
18-Mar-2019 22:00:16.804 淇℃伅 [main] org.apache.catalina.startup.VersionLoggerListener.log OS.鐗堟湰: 6.1
18-Mar-2019 22:00:16.804 淇℃伅 [main] org.apache.catalina.startup.VersionLoggerListener.log 缁�.閫�: amd64
18-Mar-2019 22:00:16.809 淇℃伅 [main] org.apache.catalina.startup.VersionLoggerListener.log Java 鐜鍙橀噺: C:\Program Files\Java\jdk-10.0.1
18-Mar-2019 22:00:16.810 淇℃伅 [main] org.apache.catalina.startup.VersionLoggerListener.log JVM 鐗堟湰: 10.0.1+10
18-Mar-2019 22:00:16.812 淇℃伅 [main] org.apache.catalina.startup.VersionLoggerListener.log JVM.渚涘簲鍟�: "Oracle Corporation"
18-Mar-2019 22:00:16.813 淇℃伅 [main] org.apache.catalina.startup.VersionLoggerListener.log CATALINA_BASE: C:\Users\Administrator\.IntelliJIdea2018.3\system\tomcat\Unnamed_JDBCMessageBoard
18-Mar-2019 22:00:16.813 淇℃伅 [main] org.apache.catalina.startup.VersionLoggerListener.log CATALINA_HOME: D:\apache-tomcat-9.0.14
18-Mar-2019 22:00:16.816 淇℃伅 [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: --add-opens=java.base/java.lang=ALL-UNNAMED
18-Mar-2019 22:00:16.817 淇℃伅 [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: --add-opens=java.base/java.io=ALL-UNNAMED
18-Mar-2019 22:00:16.818 淇℃伅 [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: --add-opens=java.rmi/sun.rmi.transport=ALL-UNNAMED
18-Mar-2019 22:00:16.819 淇℃伅 [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Djava.util.logging.config.file=C:\Users\Administrator\.IntelliJIdea2018.3\system\tomcat\Unnamed_JDBCMessageBoard\conf\logging.properties
18-Mar-2019 22:00:16.820 淇℃伅 [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager
18-Mar-2019 22:00:16.821 淇℃伅 [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Dfile.encoding=UTF-8
18-Mar-2019 22:00:16.823 淇℃伅 [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Dcom.sun.management.jmxremote=
18-Mar-2019 22:00:16.823 淇℃伅 [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Dcom.sun.management.jmxremote.port=1099
18-Mar-2019 22:00:16.824 淇℃伅 [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Dcom.sun.management.jmxremote.ssl=false
18-Mar-2019 22:00:16.826 淇℃伅 [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Dcom.sun.management.jmxremote.password.file=C:\Users\Administrator\.IntelliJIdea2018.3\system\tomcat\Unnamed_JDBCMessageBoard\jmxremote.password
18-Mar-2019 22:00:16.827 淇℃伅 [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Dcom.sun.management.jmxremote.access.file=C:\Users\Administrator\.IntelliJIdea2018.3\system\tomcat\Unnamed_JDBCMessageBoard\jmxremote.access
18-Mar-2019 22:00:16.828 淇℃伅 [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Djava.rmi.server.hostname=127.0.0.1
18-Mar-2019 22:00:16.829 淇℃伅 [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Djdk.tls.ephemeralDHKeySize=2048
18-Mar-2019 22:00:16.829 淇℃伅 [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Djava.protocol.handler.pkgs=org.apache.catalina.webresources
18-Mar-2019 22:00:16.830 淇℃伅 [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Dignore.endorsed.dirs=
18-Mar-2019 22:00:16.831 淇℃伅 [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Dcatalina.base=C:\Users\Administrator\.IntelliJIdea2018.3\system\tomcat\Unnamed_JDBCMessageBoard
18-Mar-2019 22:00:16.832 淇℃伅 [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Dcatalina.home=D:\apache-tomcat-9.0.14
18-Mar-2019 22:00:16.832 淇℃伅 [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Djava.io.tmpdir=D:\apache-tomcat-9.0.14\temp
18-Mar-2019 22:00:16.833 淇℃伅 [main] org.apache.catalina.core.AprLifecycleListener.lifecycleEvent Loaded APR based Apache Tomcat Native library [1.2.19] using APR version [1.6.5].
18-Mar-2019 22:00:16.833 淇℃伅 [main] org.apache.catalina.core.AprLifecycleListener.lifecycleEvent APR capabilities: IPv6 [true], sendfile [true], accept filters [false], random [true].
18-Mar-2019 22:00:16.836 淇℃伅 [main] org.apache.catalina.core.AprLifecycleListener.lifecycleEvent APR/OpenSSL configuration: useAprConnector [false], useOpenSSL [true]
18-Mar-2019 22:00:18.202 淇℃伅 [main] org.apache.catalina.core.AprLifecycleListener.initializeSSL OpenSSL successfully initialized [OpenSSL 1.1.1a 20 Nov 2018]
18-Mar-2019 22:00:19.185 淇℃伅 [main] org.apache.coyote.AbstractProtocol.init 鍒濆鍖栧崗璁鐞嗗櫒 ["http-nio-8080"]
18-Mar-2019 22:00:19.564 淇℃伅 [main] org.apache.coyote.AbstractProtocol.init 鍒濆鍖栧崗璁鐞嗗櫒 ["ajp-nio-8009"]
18-Mar-2019 22:00:19.590 淇℃伅 [main] org.apache.catalina.startup.Catalina.load 鏈嶅姟鍣ㄥ湪[8,985]姣鍐呭垵濮嬪寲
18-Mar-2019 22:00:20.549 淇℃伅 [main] org.apache.catalina.core.StandardService.startInternal Starting service [Catalina]
18-Mar-2019 22:00:20.551 淇℃伅 [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/9.0.14]
18-Mar-2019 22:00:20.667 淇℃伅 [main] org.apache.coyote.AbstractProtocol.start 寮�濮嬪崗璁鐞嗗彞鏌刐"http-nio-8080"]
18-Mar-2019 22:00:20.895 淇℃伅 [main] org.apache.coyote.AbstractProtocol.start 寮�濮嬪崗璁鐞嗗彞鏌刐"ajp-nio-8009"]
18-Mar-2019 22:00:20.923 淇℃伅 [main] org.apache.catalina.startup.Catalina.start Server startup in [1,331] milliseconds
[2019-03-18 10:00:21,484] Artifact JDBCMessageBoard:war exploded: Artifact is being deployed, please wait...
Connected to server
18-Mar-2019 22:00:29.461 淇℃伅 [RMI TCP Connection(5)-127.0.0.1] org.apache.jasper.servlet.TldScanner.scanJars 鑷冲皯鏈変竴涓狫AR琚壂鎻忕敤浜嶵LD浣嗗皻鏈寘鍚玊LD銆� 涓烘璁板綍鍣ㄥ惎鐢ㄨ皟璇曟棩蹇楄褰曪紝浠ヨ幏鍙栧凡鎵弿浣嗘湭鍦ㄥ叾涓壘鍒癟LD鐨勫畬鏁碕AR鍒楄〃銆� 鍦ㄦ壂鎻忔湡闂磋烦杩囦笉闇�瑕佺殑JAR鍙互缂╃煭鍚姩鏃堕棿鍜孞SP缂栬瘧鏃堕棿銆�
18-Mar-2019 22:00:31.380 淇℃伅 [Catalina-utility-1] org.apache.catalina.startup.HostConfig.deployDirectory 閮ㄧ讲 web 搴旂敤绋嬪簭鐩綍 [D:\apache-tomcat-9.0.14\webapps\manager]
18-Mar-2019 22:00:31.833 璀﹀憡 [RMI TCP Connection(5)-127.0.0.1] org.apache.catalina.util.SessionIdGeneratorBase.createSecureRandom Creation of SecureRandom instance for session ID generation using [SHA1PRNG] took [1,370] milliseconds.
18-Mar-2019 22:00:32.342 淇℃伅 [Catalina-utility-1] org.apache.catalina.startup.HostConfig.deployDirectory Deployment of web application directory [D:\apache-tomcat-9.0.14\webapps\manager] has finished in [962] ms
[2019-03-18 10:00:32,371] Artifact JDBCMessageBoard:war exploded: Artifact is deployed successfully
[2019-03-18 10:00:32,372] Artifact JDBCMessageBoa rd:war exploded: Deploy took 10,889 milliseconds
老师这样是不是代表tomcat启动成功了,为什么http://localhost:8080/输入这个地址是404错误呢
正在回答 回答被采纳积分+1
- 参与学习 人
- 提交作业 277 份
- 解答问题 4297 个
Java数据库开发的必备技能,从流行的MySQL数据库开始,到Java原生的数据库管理接口JDBC的使用,再到常用的数据持久化框架MyBatis,让你向Java工程师的目标又迈进了一步!
了解课程
恭喜解决一个难题,获得1积分~
来为老师/同学的回答评分吧
0 星