oxl9235 2018-01-01 22:40 采纳率: 100%
浏览 2746
已采纳

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 00:01
    关注

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

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

报告相同问题?

悬赏问题

  • ¥15 PADS Logic 原理图
  • ¥15 PADS Logic 图标
  • ¥15 电脑和power bi环境都是英文如何将日期层次结构转换成英文
  • ¥20 气象站点数据求取中~
  • ¥15 如何获取APP内弹出的网址链接
  • ¥15 wifi 图标不见了 不知道怎么办 上不了网 变成小地球了
手机看
程序员都在用的中文IT技术交流社区

程序员都在用的中文IT技术交流社区

专业的中文 IT 技术社区,与千万技术人共成长

专业的中文 IT 技术社区,与千万技术人共成长

关注【CSDN】视频号,行业资讯、技术分享精彩不断,直播好礼送不停!

关注【CSDN】视频号,行业资讯、技术分享精彩不断,直播好礼送不停!

客服 返回
顶部