我把名字打长就会有人跟着念 2022-03-11 16:42 采纳率: 57.9%
浏览 190
已结题

Tomcat无法加载js,启动后css都可以加载就是js没有了

img


E:\Tomcat_9\bin\catalina.bat run
[2022-03-11 04:39:12,484] 工件 Myblog:war exploded: 正在等待服务器连接以启动工件部署…
Using CATALINA_BASE:   "C:\Users\hmyxh\AppData\Local\JetBrains\IntelliJIdea2021.3\tomcat\30a985f5-f321-449d-bbac-b955b142cb77"
Using CATALINA_HOME:   "E:\Tomcat_9"
Using CATALINA_TMPDIR: "E:\Tomcat_9\temp"
Using JRE_HOME:        "F:\JDK11"
Using CLASSPATH:       "E:\Tomcat_9\bin\bootstrap.jar;E:\Tomcat_9\bin\tomcat-juli.jar"
Using CATALINA_OPTS:   ""
NOTE: Picked up JDK_JAVA_OPTIONS:  --add-opens=java.base/java.lang=ALL-UNNAMED --add-opens=java.base/java.io=ALL-UNNAMED --add-opens=java.base/java.util=ALL-UNNAMED --add-opens=java.base/java.util.concurrent=ALL-UNNAMED --add-opens=java.rmi/sun.rmi.transport=ALL-UNNAMED
11-Mar-2022 16:39:13.140 淇℃伅 [main] org.apache.catalina.startup.VersionLoggerListener.log Server.鏈嶅姟鍣ㄧ増鏈�: Apache Tomcat/9.0.58
11-Mar-2022 16:39:13.140 淇℃伅 [main] org.apache.catalina.startup.VersionLoggerListener.log 鏈嶅姟鍣ㄦ瀯寤�:        Jan 15 2022 14:37:38 UTC
11-Mar-2022 16:39:13.140 淇℃伅 [main] org.apache.catalina.startup.VersionLoggerListener.log 鏈嶅姟鍣ㄧ増鏈彿:      9.0.58.0
11-Mar-2022 16:39:13.140 淇℃伅 [main] org.apache.catalina.startup.VersionLoggerListener.log 鎿嶄綔绯荤粺鍚嶇О:      Windows 10
11-Mar-2022 16:39:13.140 淇℃伅 [main] org.apache.catalina.startup.VersionLoggerListener.log OS.鐗堟湰:           10.0
11-Mar-2022 16:39:13.140 淇℃伅 [main] org.apache.catalina.startup.VersionLoggerListener.log 鏋舵瀯:              amd64
11-Mar-2022 16:39:13.140 淇℃伅 [main] org.apache.catalina.startup.VersionLoggerListener.log Java 鐜鍙橀噺:     F:\JDK11
11-Mar-2022 16:39:13.140 淇℃伅 [main] org.apache.catalina.startup.VersionLoggerListener.log Java铏氭嫙鏈虹増鏈�:    11.0.14+8-LTS-263
11-Mar-2022 16:39:13.140 淇℃伅 [main] org.apache.catalina.startup.VersionLoggerListener.log JVM.渚涘簲鍟�:        Oracle Corporation
11-Mar-2022 16:39:13.140 淇℃伅 [main] org.apache.catalina.startup.VersionLoggerListener.log CATALINA_BASE:     C:\Users\hmyxh\AppData\Local\JetBrains\IntelliJIdea2021.3\tomcat\30a985f5-f321-449d-bbac-b955b142cb77
11-Mar-2022 16:39:13.140 淇℃伅 [main] org.apache.catalina.startup.VersionLoggerListener.log CATALINA_HOME:     E:\Tomcat_9
11-Mar-2022 16:39:13.140 淇℃伅 [main] org.apache.catalina.startup.VersionLoggerListener.log 鍛戒护琛屽弬鏁帮細       --add-opens=java.base/java.lang=ALL-UNNAMED
11-Mar-2022 16:39:13.140 淇℃伅 [main] org.apache.catalina.startup.VersionLoggerListener.log 鍛戒护琛屽弬鏁帮細       --add-opens=java.base/java.io=ALL-UNNAMED
11-Mar-2022 16:39:13.140 淇℃伅 [main] org.apache.catalina.startup.VersionLoggerListener.log 鍛戒护琛屽弬鏁帮細       --add-opens=java.base/java.util=ALL-UNNAMED
11-Mar-2022 16:39:13.140 淇℃伅 [main] org.apache.catalina.startup.VersionLoggerListener.log 鍛戒护琛屽弬鏁帮細       --add-opens=java.base/java.util.concurrent=ALL-UNNAMED
11-Mar-2022 16:39:13.140 淇℃伅 [main] org.apache.catalina.startup.VersionLoggerListener.log 鍛戒护琛屽弬鏁帮細       --add-opens=java.rmi/sun.rmi.transport=ALL-UNNAMED
11-Mar-2022 16:39:13.140 淇℃伅 [main] org.apache.catalina.startup.VersionLoggerListener.log 鍛戒护琛屽弬鏁帮細       -Djava.util.logging.config.file=C:\Users\hmyxh\AppData\Local\JetBrains\IntelliJIdea2021.3\tomcat\30a985f5-f321-449d-bbac-b955b142cb77\conf\logging.properties
11-Mar-2022 16:39:13.140 淇℃伅 [main] org.apache.catalina.startup.VersionLoggerListener.log 鍛戒护琛屽弬鏁帮細       -Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager
11-Mar-2022 16:39:13.140 淇℃伅 [main] org.apache.catalina.startup.VersionLoggerListener.log 鍛戒护琛屽弬鏁帮細       -Dcom.sun.management.jmxremote=
11-Mar-2022 16:39:13.140 淇℃伅 [main] org.apache.catalina.startup.VersionLoggerListener.log 鍛戒护琛屽弬鏁帮細       -Dcom.sun.management.jmxremote.port=1099
11-Mar-2022 16:39:13.140 淇℃伅 [main] org.apache.catalina.startup.VersionLoggerListener.log 鍛戒护琛屽弬鏁帮細       -Dcom.sun.management.jmxremote.ssl=false
11-Mar-2022 16:39:13.140 淇℃伅 [main] org.apache.catalina.startup.VersionLoggerListener.log 鍛戒护琛屽弬鏁帮細       -Dcom.sun.management.jmxremote.password.file=C:\Users\hmyxh\AppData\Local\JetBrains\IntelliJIdea2021.3\tomcat\30a985f5-f321-449d-bbac-b955b142cb77\jmxremote.password
11-Mar-2022 16:39:13.140 淇℃伅 [main] org.apache.catalina.startup.VersionLoggerListener.log 鍛戒护琛屽弬鏁帮細       -Dcom.sun.management.jmxremote.access.file=C:\Users\hmyxh\AppData\Local\JetBrains\IntelliJIdea2021.3\tomcat\30a985f5-f321-449d-bbac-b955b142cb77\jmxremote.access
11-Mar-2022 16:39:13.140 淇℃伅 [main] org.apache.catalina.startup.VersionLoggerListener.log 鍛戒护琛屽弬鏁帮細       -Djava.rmi.server.hostname=127.0.0.1
11-Mar-2022 16:39:13.140 淇℃伅 [main] org.apache.catalina.startup.VersionLoggerListener.log 鍛戒护琛屽弬鏁帮細       -Djdk.tls.ephemeralDHKeySize=2048
11-Mar-2022 16:39:13.140 淇℃伅 [main] org.apache.catalina.startup.VersionLoggerListener.log 鍛戒护琛屽弬鏁帮細       -Djava.protocol.handler.pkgs=org.apache.catalina.webresources
11-Mar-2022 16:39:13.140 淇℃伅 [main] org.apache.catalina.startup.VersionLoggerListener.log 鍛戒护琛屽弬鏁帮細       -Dignore.endorsed.dirs=
11-Mar-2022 16:39:13.140 淇℃伅 [main] org.apache.catalina.startup.VersionLoggerListener.log 鍛戒护琛屽弬鏁帮細       -Dcatalina.base=C:\Users\hmyxh\AppData\Local\JetBrains\IntelliJIdea2021.3\tomcat\30a985f5-f321-449d-bbac-b955b142cb77
11-Mar-2022 16:39:13.140 淇℃伅 [main] org.apache.catalina.startup.VersionLoggerListener.log 鍛戒护琛屽弬鏁帮細       -Dcatalina.home=E:\Tomcat_9
11-Mar-2022 16:39:13.140 淇℃伅 [main] org.apache.catalina.startup.VersionLoggerListener.log 鍛戒护琛屽弬鏁帮細       -Djava.io.tmpdir=E:\Tomcat_9\temp
11-Mar-2022 16:39:13.156 淇℃伅 [main] org.apache.catalina.core.AprLifecycleListener.lifecycleEvent 鍦╦ava.library.path:[F:\JDK11\bin;C:\WINDOWS\Sun\Java\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\Program Files\Common Files\Oracle\Java\javapath;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Windows\System32\OpenSSH\;C:\Program Files (x86)\NVIDIA Corporation\PhysX\Common;C:\Program Files\NVIDIA Corporation\NVIDIA NvDLISR;F:\Bandizip\;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0\;C:\WINDOWS\System32\OpenSSH\;F:\Git\cmd;E:\apache-maven-3.8.4\bin;E:\gradle\gradle-7.4\bin;%MYSQL_HOME%\bin;C:\Users\hmyxh\AppData\Local\Microsoft\WindowsApps;;F:\Microsoft VS Code\bin;.]涓婃壘涓嶅埌鍩轰簬APR鐨凙pache Tomcat鏈満搴擄紝璇ュ簱鍏佽鍦ㄧ敓浜х幆澧冧腑鑾峰緱鏈�浣虫�ц兘
11-Mar-2022 16:39:13.281 淇℃伅 [main] org.apache.coyote.AbstractProtocol.init 鍒濆鍖栧崗璁鐞嗗櫒 ["http-nio-8080"]
11-Mar-2022 16:39:13.296 淇℃伅 [main] org.apache.catalina.startup.Catalina.load 鏈嶅姟鍣ㄥ湪[275]姣鍐呭垵濮嬪寲
11-Mar-2022 16:39:13.328 淇℃伅 [main] org.apache.catalina.core.StandardService.startInternal 姝e湪鍚姩鏈嶅姟[Catalina]
11-Mar-2022 16:39:13.328 淇℃伅 [main] org.apache.catalina.core.StandardEngine.startInternal 姝e湪鍚姩 Servlet 寮曟搸锛歔Apache Tomcat/9.0.58]
11-Mar-2022 16:39:13.343 淇℃伅 [main] org.apache.coyote.AbstractProtocol.start 寮�濮嬪崗璁鐞嗗彞鏌刐"http-nio-8080"]
11-Mar-2022 16:39:13.343 淇℃伅 [main] org.apache.catalina.startup.Catalina.start [57]姣鍚庢湇鍔″櫒鍚姩
已连接到服务器
[2022-03-11 04:39:13,640] 工件 Myblog:war exploded: 正在部署工件,请稍候…
11-Mar-2022 16:39:13.984 璀﹀憡 [RMI TCP Connection(3)-127.0.0.1] org.apache.catalina.util.SessionIdGeneratorBase.createSecureRandom 浣跨敤[SHA1PRNG]鍒涘缓浼氳瘽ID鐢熸垚鐨凷ecureRandom瀹炰緥鑺辫垂浜哰172]姣銆�
[2022-03-11 04:39:13,999] 工件 Myblog:war exploded: 工件已成功部署
[2022-03-11 04:39:13,999] 工件 Myblog:war exploded: 部署已花费 359 毫秒
11-Mar-2022 16:39:23.352 淇℃伅 [Catalina-utility-2] org.apache.catalina.startup.HostConfig.deployDirectory 鎶妛eb 搴旂敤绋嬪簭閮ㄧ讲鍒扮洰褰� [E:\Tomcat_9\webapps\manager]
11-Mar-2022 16:39:23.383 淇℃伅 [Catalina-utility-2] org.apache.catalina.startup.HostConfig.deployDirectory Web搴旂敤绋嬪簭鐩綍[E:\Tomcat_9\webapps\manager]鐨勯儴缃插凡鍦╗31]姣鍐呭畬鎴�

  • 写回答

1条回答 默认 最新

  • Tomshidi 2022-03-11 16:57
    关注

    network界面截图
    console界面截图

    本回答被题主选为最佳回答 , 对您是否有帮助呢?
    评论

报告相同问题?

问题事件

  • 系统已结题 5月31日
  • 已采纳回答 5月23日
  • 创建了问题 3月11日

悬赏问题

  • ¥20 树莓派5做人脸情感识别与反馈系统
  • ¥15 selenium 控制 chrome-for-testing 在 Linux 环境下报错 SessionNotCreatedException
  • ¥15 使用pyodbc操作SQL数据库
  • ¥15 MATLAB实现下列
  • ¥30 mininet可视化打不开.mn文件
  • ¥50 C# 全屏打开Edge浏览器
  • ¥80 WEBPACK性能优化
  • ¥30 python拟合回归分析
  • ¥500 metaswitch 6010
  • ¥15 关于#分类#的问题:不用人工智能的算法