Anlan2010
小蚂蚁工作室
2018-01-03 13:20
采纳率: 0%
浏览 1.5k

idea 2017 运行 spring mvc 报错 tomcat9

03-Jan-2018 21:18:34.566 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log Server version: Apache Tomcat/9.0.2
03-Jan-2018 21:18:34.566 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log Server built: Nov 25 2017 21:08:02 UTC
03-Jan-2018 21:18:34.566 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log Server number: 9.0.2.0
03-Jan-2018 21:18:34.566 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log OS Name: Windows 10
03-Jan-2018 21:18:34.566 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log OS Version: 10.0
03-Jan-2018 21:18:34.566 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log Architecture: x86
03-Jan-2018 21:18:34.566 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log Java Home: C:\Program Files (x86)\Java\jdk1.8.0_111\jre
03-Jan-2018 21:18:34.566 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log JVM Version: 1.8.0_111-b14
03-Jan-2018 21:18:34.566 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log JVM Vendor: Oracle Corporation
03-Jan-2018 21:18:34.566 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log CATALINA_BASE: C:\Users\Dell.IntelliJIdea2017.3\system\tomcat\Unnamed_myjavamvc
03-Jan-2018 21:18:34.566 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log CATALINA_HOME: E:\Program Files\tomcat9
03-Jan-2018 21:18:34.566 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Djava.util.logging.config.file=C:\Users\Dell.IntelliJIdea2017.3\system\tomcat\Unnamed_myjavamvc\conf\logging.properties
03-Jan-2018 21:18:34.566 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager
03-Jan-2018 21:18:34.566 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Dcom.sun.management.jmxremote=
03-Jan-2018 21:18:34.566 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Dcom.sun.management.jmxremote.port=1099
03-Jan-2018 21:18:34.566 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Dcom.sun.management.jmxremote.ssl=false
03-Jan-2018 21:18:34.566 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Dcom.sun.management.jmxremote.authenticate=false
03-Jan-2018 21:18:34.566 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Djava.rmi.server.hostname=127.0.0.1
03-Jan-2018 21:18:34.566 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Djdk.tls.ephemeralDHKeySize=2048
03-Jan-2018 21:18:34.566 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Djava.protocol.handler.pkgs=org.apache.catalina.webresources
03-Jan-2018 21:18:34.566 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Dignore.endorsed.dirs=
03-Jan-2018 21:18:34.566 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Dcatalina.base=C:\Users\Dell.IntelliJIdea2017.3\system\tomcat\Unnamed_myjavamvc
03-Jan-2018 21:18:34.566 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Dcatalina.home=E:\Program Files\tomcat9
03-Jan-2018 21:18:34.566 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Djava.io.tmpdir=E:\Program Files\tomcat9\temp
03-Jan-2018 21:18:34.657 信息 [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-6080"]
03-Jan-2018 21:18:34.677 信息 [main] org.apache.tomcat.util.net.NioSelectorPool.getSharedSelector Using a shared selector for servlet write/read
03-Jan-2018 21:18:34.677 信息 [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["ajp-nio-53883"]
03-Jan-2018 21:18:34.677 信息 [main] org.apache.tomcat.util.net.NioSelectorPool.getSharedSelector Using a shared selector for servlet write/read
03-Jan-2018 21:18:34.677 信息 [main] org.apache.catalina.startup.Catalina.load Initialization processed in 375 ms
03-Jan-2018 21:18:34.715 信息 [main] org.apache.catalina.core.StandardService.startInternal Starting service [Catalina]
03-Jan-2018 21:18:34.715 信息 [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet Engine: Apache Tomcat/9.0.2
03-Jan-2018 21:18:34.726 信息 [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-6080"]
03-Jan-2018 21:18:34.736 信息 [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["ajp-nio-53883"]
03-Jan-2018 21:18:34.736 信息 [main] org.apache.catalina.startup.Catalina.start Server startup in 56 ms
03-Jan-2018 21:18:36.537 严重 [RMI TCP Connection(3)-127.0.0.1] org.apache.catalina.core.StandardContext.startInternal Context [] startup failed due to previous errors
03-Jan-2018 21:18:36.537 信息 [RMI TCP Connection(3)-127.0.0.1] org.springframework.web.context.support.XmlWebApplicationContext.doClose Closing Root WebApplicationContext: startup date [Wed Jan 03 21:18:36 CST 2018]; root of context hierarchy
03-Jan-2018 21:18:44.736 信息 [ContainerBackgroundProcessor[StandardEngine[Catalina]]] org.apache.catalina.startup.HostConfig.deployDirectory Deploying web application directory [E:\Program Files\tomcat9\webapps\manager]
03-Jan-2018 21:18:44.806 信息 [ContainerBackgroundProcessor[StandardEngine[Catalina]]] org.apache.catalina.startup.HostConfig.deployDirectory Deployment of web application directory [E:\Program Files\tomcat9\webapps\manager] has finished in [70] ms

  • 点赞
  • 写回答
  • 关注问题
  • 收藏
  • 邀请回答

8条回答 默认 最新

  • Anlan2010
    小蚂蚁工作室 2018-01-03 13:20

    03-Jan-2018 21:18:36.537 严重 [RMI TCP Connection(3)-127.0.0.1] org.apache.catalina.core.StandardContext.startInternal One or more listeners failed to start. Full details will be found in the appropriate container log file
    03-Jan-2018 21:18:36.537 严重 [RMI TCP Connection(3)-127.0.0.1] org.apache.catalina.core.StandardContext.startInternal Context [] startup failed due to previous errors
    03-Jan-2018 21:18:36.537 信息 [RMI TCP Connection(3)-127.0.0.1] org.springframework.web.context.support.XmlWebApplicationContext.doClose Closing Root WebApplicationContext: startup date [Wed Jan 03 21:18:36 CST 2018]; root of context hierarchy
    [2018-01-03 09:18:36,557] Artifact myjavamvc:war exploded: Error during artifact deployment. See server log for details.
    03-Jan-2018 21:18:44.736 信息 [ContainerBackgroundProcessor[StandardEngine[Catalina]]] org.apache.catalina.startup.HostConfig.deployDirectory Deploying web application directory [E:\Program Files\tomcat9\webapps\manager]
    03-Jan-2018 21:18:44.806 信息 [ContainerBackgroundProcessor[StandardEngine[Catalina]]] org.apache.catalina.startup.HostConfig.deployDirectory Deployment of web application directory [E:\Program Files\tomcat9\webapps\manager] has finished in [70] ms

    点赞 评论
  • dcxy0
    Q544471255 2018-01-03 15:02

    看不到错误信息,你看下tomcat的日志(在idea的运行日志旁边还有两个页签,其中一个就是)里面会有报错信息

    点赞 评论
  • caozhy

    要找错误日志最下面的“严重”那条,因为函数调用是一个堆栈的关系,最下面的是最先触发的原始的错误。可能是你的spring配置问题,也可能是bean初始化丢出了异常。

    点赞 评论
  • qq_33726373
    qq_33726373 2018-01-04 00:43

    你看看tomcat报错信息,然后根据报错信息着问题

    点赞 评论
  • ios_king
    果冻剑客 2018-01-04 02:31

    好像是jdk 版本错误吧,你试着换jdk 版本

    点赞 评论
  • yulei2008_
    于雷【星硕世纪】 2018-01-04 07:14

    tomcat和jdk的版本是否配置好了!

    点赞 评论
  • it_zhangwei
    路漫漫兮其修远兮 2018-01-05 02:01

    没有看到具体的错误信息,tomcat这种东西不能用即换一个,没必要纠结

    点赞 评论
  • qq_15259781
    花匠小林 2018-01-15 11:56

    是不是jdk版本不对,tomcat9需要java se8以上的版本

    点赞 评论

相关推荐