yilianchen
IT_严宇
2018-01-24 15:13
采纳率: 100%
浏览 4.2k
已采纳

JAVAEE项目报错找不到位置

D:\JAVA\PZHJ\apache-tomcat-8.5.24\bin\catalina.bat run
[2018-01-24 10:56:08,831] Artifact bugmanage:war exploded: Waiting for server connection to start artifact deployment...
Using CATALINA_BASE: "C:\Users\15110.IntelliJIdea2017.3\system\tomcat\Tomcat_8_5_24_bugmanage"
Using CATALINA_HOME: "D:\JAVA\PZHJ\apache-tomcat-8.5.24"
Using CATALINA_TMPDIR: "D:\JAVA\PZHJ\apache-tomcat-8.5.24\temp"
Using JRE_HOME: "C:\Program Files\Java\jdk1.8.0_101"
Using CLASSPATH: "D:\JAVA\PZHJ\apache-tomcat-8.5.24\bin\bootstrap.jar;D:\JAVA\PZHJ\apache-tomcat-8.5.24\bin\tomcat-juli.jar"
Connected to the target VM, address: '127.0.0.1:55428', transport: 'socket'
24-Jan-2018 22:56:10.275 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log Server version: Apache Tomcat/8.5.24
24-Jan-2018 22:56:10.280 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log Server built: Nov 27 2017 13:05:30 UTC
24-Jan-2018 22:56:10.280 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log Server number: 8.5.24.0
24-Jan-2018 22:56:10.280 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log OS Name: Windows 10
24-Jan-2018 22:56:10.280 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log OS Version: 10.0
24-Jan-2018 22:56:10.280 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log Architecture: amd64
24-Jan-2018 22:56:10.280 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log Java Home: C:\Program Files\Java\jdk1.8.0_101\jre
24-Jan-2018 22:56:10.280 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log JVM Version: 1.8.0_101-b13
24-Jan-2018 22:56:10.280 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log JVM Vendor: Oracle Corporation
24-Jan-2018 22:56:10.280 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log CATALINA_BASE: C:\Users\15110.IntelliJIdea2017.3\system\tomcat\Tomcat_8_5_24_bugmanage
24-Jan-2018 22:56:10.281 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log CATALINA_HOME: D:\JAVA\PZHJ\apache-tomcat-8.5.24
24-Jan-2018 22:56:10.281 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Djava.util.logging.config.file=C:\Users\15110.IntelliJIdea2017.3\system\tomcat\Tomcat_8_5_24_bugmanage\conf\logging.properties
24-Jan-2018 22:56:10.281 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager
24-Jan-2018 22:56:10.281 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -agentlib:jdwp=transport=dt_socket,address=127.0.0.1:55428,suspend=y,server=n
24-Jan-2018 22:56:10.281 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -javaagent:C:\Users\15110.IntelliJIdea2017.3\system\captureAgent\debugger-agent.jar=C:\Users\15110\AppData\Local\Temp\capture223.props
24-Jan-2018 22:56:10.281 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Dcom.sun.management.jmxremote=
24-Jan-2018 22:56:10.281 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Dcom.sun.management.jmxremote.port=1099
24-Jan-2018 22:56:10.281 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Dcom.sun.management.jmxremote.ssl=false
24-Jan-2018 22:56:10.281 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Dcom.sun.management.jmxremote.authenticate=false
24-Jan-2018 22:56:10.281 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Djava.rmi.server.hostname=127.0.0.1
24-Jan-2018 22:56:10.281 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Djdk.tls.ephemeralDHKeySize=2048
24-Jan-2018 22:56:10.281 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Djava.protocol.handler.pkgs=org.apache.catalina.webresources
24-Jan-2018 22:56:10.281 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Dignore.endorsed.dirs=
24-Jan-2018 22:56:10.281 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Dcatalina.base=C:\Users\15110.IntelliJIdea2017.3\system\tomcat\Tomcat_8_5_24_bugmanage
24-Jan-2018 22:56:10.281 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Dcatalina.home=D:\JAVA\PZHJ\apache-tomcat-8.5.24
24-Jan-2018 22:56:10.282 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Djava.io.tmpdir=D:\JAVA\PZHJ\apache-tomcat-8.5.24\temp
24-Jan-2018 22:56:10.283 信息 [main] org.apache.catalina.core.AprLifecycleListener.lifecycleEvent Loaded APR based Apache Tomcat Native library [1.2.16] using APR version [1.6.3].
24-Jan-2018 22:56:10.283 信息 [main] org.apache.catalina.core.AprLifecycleListener.lifecycleEvent APR capabilities: IPv6 [true], sendfile [true], accept filters [false], random [true].
24-Jan-2018 22:56:10.283 信息 [main] org.apache.catalina.core.AprLifecycleListener.lifecycleEvent APR/OpenSSL configuration: useAprConnector [false], useOpenSSL [true]
24-Jan-2018 22:56:11.339 信息 [main] org.apache.catalina.core.AprLifecycleListener.initializeSSL OpenSSL successfully initialized [OpenSSL 1.0.2m 2 Nov 2017]
24-Jan-2018 22:56:11.511 信息 [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-8080"]
24-Jan-2018 22:56:11.529 信息 [main] org.apache.tomcat.util.net.NioSelectorPool.getSharedSelector Using a shared selector for servlet write/read
24-Jan-2018 22:56:11.538 信息 [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["ajp-nio-8009"]
24-Jan-2018 22:56:11.541 信息 [main] org.apache.tomcat.util.net.NioSelectorPool.getSharedSelector Using a shared selector for servlet write/read
24-Jan-2018 22:56:11.542 信息 [main] org.apache.catalina.startup.Catalina.load Initialization processed in 1624 ms
24-Jan-2018 22:56:11.582 信息 [main] org.apache.catalina.core.StandardService.startInternal Starting service [Catalina]
24-Jan-2018 22:56:11.582 信息 [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet Engine: Apache Tomcat/8.5.24
24-Jan-2018 22:56:11.594 信息 [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-8080"]
24-Jan-2018 22:56:11.610 信息 [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["ajp-nio-8009"]
24-Jan-2018 22:56:11.614 信息 [main] org.apache.catalina.startup.Catalina.start Server startup in 72 ms
Connected to server
[2018-01-24 10:56:12,051] Artifact bugmanage:war exploded: Artifact is being deployed, please wait...
24-Jan-2018 22:56:14.323 信息 [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.
log4j:WARN No appenders could be found for logger (org.springframework.web.servlet.DispatcherServlet).
log4j:WARN Please initialize the log4j system properly.
log4j:WARN See http://logging.apache.org/log4j/1.2/faq.html#noconfig for more info.
[2018-01-24 10:56:15,584] Artifact bugmanage:war exploded: Artifact is deployed successfully
[2018-01-24 10:56:15,584] Artifact bugmanage:war exploded: Deploy took 3,534 milliseconds
D:\JAVA\PZHJ\apache-tomcat-8.5.24\bin\catalina.bat stop
Disconnected from the target VM, address: '127.0.0.1:55428', transport: 'socket'
Using CATALINA_BASE: "C:\Users\15110.IntelliJIdea2017.3\system\tomcat\Tomcat_8_5_24_bugmanage"
Using CATALINA_HOME: "D:\JAVA\PZHJ\apache-tomcat-8.5.24"
Using CATALINA_TMPDIR: "D:\JAVA\PZHJ\apache-tomcat-8.5.24\temp"
Using JRE_HOME: "C:\Program Files\Java\jdk1.8.0_101"
Using CLASSPATH: "D:\JAVA\PZHJ\apache-tomcat-8.5.24\bin\bootstrap.jar;D:\JAVA\PZHJ\apache-tomcat-8.5.24\bin\tomcat-juli.jar"
24-Jan-2018 22:56:25.000 信息 [main] org.apache.catalina.core.StandardServer.await A valid shutdown command was received via the shutdown port. Stopping the Server instance.
24-Jan-2018 22:56:25.001 信息 [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-8080"]
24-Jan-2018 22:56:25.249 信息 [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["ajp-nio-8009"]
24-Jan-2018 22:56:25.556 信息 [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Catalina]
24-Jan-2018 22:56:25.569 信息 [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-8080"]
24-Jan-2018 22:56:25.571 信息 [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["ajp-nio-8009"]
24-Jan-2018 22:56:25.573 信息 [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-8080"]
24-Jan-2018 22:56:25.573 信息 [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["ajp-nio-8009"]
Disconnected from server
图片说明

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

8条回答 默认 最新

  • QQ151100
    DJ-严宇 2018-04-12 01:11
    已采纳

    重写一遍项目就可以调好了

    点赞 评论
  • caozhy

    提示不能创建bugcontroller,要么是你的映射有问题,要么是你的spring的配置问题。

    点赞 评论
  • wp_84
    alexander.wong 2018-01-24 17:16

    问题很明显:Error creating bean with name 'bugController',就是controller实例对象创建失败,是不是这个controller中的service没有注入啊?

    点赞 评论
  • qq_21586053
    qq_21586053 2018-01-25 00:30

    看看你有没有足够权限对tomcat的修改的删除等操作

    点赞 评论
  • qq_26803795
    且听_风吟 2018-01-25 02:23

    应该是bugController中service没有注入

    点赞 评论
  • xiaoxsen
    xiaoxsen 2018-01-25 13:16

    bugController加了@Controller注解吗?

    点赞 评论
  • chuangke158
    chuangke158 2018-01-27 08:48

    应该是bugController中service没有注入或者没有扫描到

    点赞 评论
  • yilianchen
    IT_严宇 2018-04-12 01:07

    @ DJ-严宇
    24-Jan-2018 22:56:11.582 信息 [main] org.apache.catalina.core.StandardService.startInternal Starting service [Catalina]

    点赞 评论

相关推荐