从天南春风到慕兰寒冬 2019-09-10 22:39 采纳率: 0%
浏览 1943

在Idea上的springmvc项目运行tomcat时,访问主页显示404,求解?

运行tomcat后,访问主页显示404,求解

Javaspringmvc

10-Sep-2019 22:22:36.195 警告 [RMI TCP Connection(3)-127.0.0.1] org.apache.tomcat.util.descriptor.web.WebXml.setVersion Unknown version string [4.0]. Default version will be used.
10-Sep-2019 22:22:41.178 信息 [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.
10-Sep-2019 22:22:41.803 警告 [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 [406] milliseconds.
[2019-09-10 10:22:41,959] Artifact itheima_spring_mvc:war exploded: Artifact is deployed successfully
[2019-09-10 10:22:41,959] Artifact itheima_spring_mvc:war exploded: Deploy took 7,623 milliseconds
10-Sep-2019 22:22:44.084 信息 [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployDirectory Deploying web application directory [D:\develop\apache-tomcat-8.5.31\webapps\manager]
10-Sep-2019 22:22:44.490 信息 [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployDirectory Deployment of web application directory [D:\develop\apache-tomcat-8.5.31\webapps\manager] has finished in [406] ms

  • 写回答

1条回答 默认 最新

  • 「已注销」 2019-09-12 15:29
    关注

    是因为你的tomcat虽然启动了,但是项目有错误没启动tomcat下的项目。
    http://www.75271.com/20223.html
    看一下这篇文章

    评论

报告相同问题?

悬赏问题

  • ¥15 要给毕业设计添加扫码登录的功能!!有偿
  • ¥15 kafka 分区副本增加会导致消息丢失或者不可用吗?
  • ¥15 微信公众号自制会员卡没有收款渠道啊
  • ¥15 stable diffusion
  • ¥100 Jenkins自动化部署—悬赏100元
  • ¥15 关于#python#的问题:求帮写python代码
  • ¥20 MATLAB画图图形出现上下震荡的线条
  • ¥15 关于#windows#的问题:怎么用WIN 11系统的电脑 克隆WIN NT3.51-4.0系统的硬盘
  • ¥15 perl MISA分析p3_in脚本出错
  • ¥15 k8s部署jupyterlab,jupyterlab保存不了文件