oxl9235 2018-01-02 06:40 采纳率: 100%
浏览 2745
已采纳

eclipse配置好tomcat后,请求路径也对,但就是报404,请问怎么解决?

下面是控制台信息
一月 02, 2018 2:21:02 下午 org.apache.catalina.core.AprLifecycleListener lifecycleEvent
信息: The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: C:\Program Files\Java\jre1.8.0_151\bin;C:\Windows\Sun\Java\bin;C:\Windows\system32;C:\Windows;C:/Program Files/Java/jre1.8.0_151/bin/server;C:/Program Files/Java/jre1.8.0_151/bin;C:/Program Files/Java/jre1.8.0_151/lib/amd64;C:\ProgramData\Oracle\Java\javapath;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files\Java\jdk1.8.0_151\bin;C:\Program Files\Java\jdk1.8.0_151\jre\bin;D:\eclipse\eclipse;;.
一月 02, 2018 2:21:02 下午 org.apache.coyote.AbstractProtocol init
信息: Initializing ProtocolHandler ["http-bio-8080"]
一月 02, 2018 2:21:02 下午 org.apache.coyote.AbstractProtocol init
信息: Initializing ProtocolHandler ["ajp-bio-8009"]
一月 02, 2018 2:21:02 下午 org.apache.catalina.startup.Catalina load
信息: Initialization processed in 523 ms
一月 02, 2018 2:21:02 下午 org.apache.catalina.core.StandardService startInternal
信息: Starting service Catalina
一月 02, 2018 2:21:02 下午 org.apache.catalina.core.StandardEngine startInternal
信息: Starting Servlet Engine: Apache Tomcat/7.0.82
一月 02, 2018 2:21:04 下午 org.apache.catalina.startup.TldConfig execute
信息: 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.
一月 02, 2018 2:21:04 下午 org.apache.catalina.startup.HostConfig deployDirectory
信息: Deploying web application directory D:\Tomcat\apache-tomcat-7.0.82\webapps\docs
一月 02, 2018 2:21:05 下午 org.apache.catalina.startup.TldConfig execute
信息: 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.
一月 02, 2018 2:21:05 下午 org.apache.catalina.startup.HostConfig deployDirectory
信息: Deployment of web application directory D:\Tomcat\apache-tomcat-7.0.82\webapps\docs has finished in 868 ms
一月 02, 2018 2:21:05 下午 org.apache.catalina.startup.HostConfig deployDirectory
信息: Deploying web application directory D:\Tomcat\apache-tomcat-7.0.82\webapps\examples
一月 02, 2018 2:21:06 下午 org.apache.catalina.startup.TldConfig execute
信息: 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.
一月 02, 2018 2:21:06 下午 org.apache.catalina.core.ApplicationContext log
信息: ContextListener: contextInitialized()
一月 02, 2018 2:21:06 下午 org.apache.catalina.core.ApplicationContext log
信息: SessionListener: contextInitialized()
一月 02, 2018 2:21:06 下午 org.apache.catalina.core.ApplicationContext log
信息: ContextListener: attributeAdded('org.apache.jasper.compiler.TldLocationsCache', 'org.apache.jasper.compiler.TldLocationsCache@402ce79')
一月 02, 2018 2:21:06 下午 org.apache.catalina.startup.HostConfig deployDirectory
信息: Deployment of web application directory D:\Tomcat\apache-tomcat-7.0.82\webapps\examples has finished in 1,238 ms
一月 02, 2018 2:21:06 下午 org.apache.catalina.startup.HostConfig deployDirectory
信息: Deploying web application directory D:\Tomcat\apache-tomcat-7.0.82\webapps\host-manager
一月 02, 2018 2:21:07 下午 org.apache.catalina.startup.TldConfig execute
信息: 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.
一月 02, 2018 2:21:07 下午 org.apache.catalina.startup.HostConfig deployDirectory
信息: Deployment of web application directory D:\Tomcat\apache-tomcat-7.0.82\webapps\host-manager has finished in 599 ms
一月 02, 2018 2:21:07 下午 org.apache.catalina.startup.HostConfig deployDirectory
信息: Deploying web application directory D:\Tomcat\apache-tomcat-7.0.82\webapps\manager
一月 02, 2018 2:21:07 下午 org.apache.catalina.startup.TldConfig execute
信息: 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.
一月 02, 2018 2:21:07 下午 org.apache.catalina.startup.HostConfig deployDirectory
信息: Deployment of web application directory D:\Tomcat\apache-tomcat-7.0.82\webapps\manager has finished in 505 ms
一月 02, 2018 2:21:07 下午 org.apache.catalina.startup.HostConfig deployDirectory
信息: Deploying web application directory D:\Tomcat\apache-tomcat-7.0.82\webapps\ROOT
一月 02, 2018 2:21:08 下午 org.apache.catalina.startup.TldConfig execute
信息: 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.
一月 02, 2018 2:21:08 下午 org.apache.catalina.startup.HostConfig deployDirectory
信息: Deployment of web application directory D:\Tomcat\apache-tomcat-7.0.82\webapps\ROOT has finished in 487 ms
一月 02, 2018 2:21:08 下午 org.apache.coyote.AbstractProtocol start
信息: Starting ProtocolHandler ["http-bio-8080"]
一月 02, 2018 2:21:08 下午 org.apache.coyote.AbstractProtocol start
信息: Starting ProtocolHandler ["ajp-bio-8009"]
一月 02, 2018 2:21:08 下午 org.apache.catalina.startup.Catalina start
信息: Server startup in 5758 ms
图片说明

  • 写回答

22条回答

  • 弒灬泪 2018-01-02 08:01
    关注

    首先看一下webapp下面有没有项目,有项目证明部署上去了,那应该就是路径问题了,WEB-INF下面的页面,不可以通过url直接访问,如果东西不在WEB-INF下,路径对的还是访问不了,看看是否被拦截了

    本回答被题主选为最佳回答 , 对您是否有帮助呢?
    评论
查看更多回答(21条)

报告相同问题?

悬赏问题

  • ¥15 多电路系统共用电源的串扰问题
  • ¥15 slam rangenet++配置
  • ¥15 有没有研究水声通信方面的帮我改俩matlab代码
  • ¥15 对于相关问题的求解与代码
  • ¥15 ubuntu子系统密码忘记
  • ¥15 信号傅里叶变换在matlab上遇到的小问题请求帮助
  • ¥15 保护模式-系统加载-段寄存器
  • ¥15 电脑桌面设定一个区域禁止鼠标操作
  • ¥15 求NPF226060磁芯的详细资料
  • ¥15 使用R语言marginaleffects包进行边际效应图绘制