idea 整合ssh报错。。。。

C:\Soft\apache-tomcat-8.5.16\bin\catalina.bat run
[2017-07-06 06:10:11,275] Artifact cmr:war exploded: Server is not connected. Deploy is not available.
Using CATALINA_BASE: "C:\Users\Administrator.IntelliJIdea2017.1\system\tomcat\Unnamed_porject_2"
Using CATALINA_HOME: "C:\Soft\apache-tomcat-8.5.16"
Using CATALINA_TMPDIR: "C:\Soft\apache-tomcat-8.5.16\temp"
Using JRE_HOME: "C:\Soft\Java\jdk1.8.0_131"
Using CLASSPATH: "C:\Soft\apache-tomcat-8.5.16\bin\bootstrap.jar;C:\Soft\apache-tomcat-8.5.16\bin\tomcat-juli.jar"
06-Jul-2017 18:10:12.166 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log Server version: Apache Tomcat/8.5.16
06-Jul-2017 18:10:12.169 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log Server built: Jun 21 2017 17:01:09 UTC
06-Jul-2017 18:10:12.169 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log Server number: 8.5.16.0
06-Jul-2017 18:10:12.169 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log OS Name: Windows 10
06-Jul-2017 18:10:12.169 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log OS Version: 10.0
06-Jul-2017 18:10:12.169 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log Architecture: amd64
06-Jul-2017 18:10:12.169 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log Java Home: C:\Soft\Java\jdk1.8.0_131\jre
06-Jul-2017 18:10:12.169 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log JVM Version: 1.8.0_131-b11
06-Jul-2017 18:10:12.169 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log JVM Vendor: Oracle Corporation
06-Jul-2017 18:10:12.169 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log CATALINA_BASE: C:\Users\Administrator.IntelliJIdea2017.1\system\tomcat\Unnamed_porject_2
06-Jul-2017 18:10:12.169 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log CATALINA_HOME: C:\Soft\apache-tomcat-8.5.16
06-Jul-2017 18:10:12.170 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Djava.util.logging.config.file=C:\Users\Administrator.IntelliJIdea2017.1\system\tomcat\Unnamed_porject_2\conf\logging.properties
06-Jul-2017 18:10:12.170 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager
06-Jul-2017 18:10:12.170 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Dcom.sun.management.jmxremote=
06-Jul-2017 18:10:12.170 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Dcom.sun.management.jmxremote.port=1099
06-Jul-2017 18:10:12.171 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Dcom.sun.management.jmxremote.ssl=false
06-Jul-2017 18:10:12.171 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Dcom.sun.management.jmxremote.authenticate=false
06-Jul-2017 18:10:12.171 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Djava.rmi.server.hostname=127.0.0.1
06-Jul-2017 18:10:12.171 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Djdk.tls.ephemeralDHKeySize=2048
06-Jul-2017 18:10:12.172 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Djava.protocol.handler.pkgs=org.apache.catalina.webresources
06-Jul-2017 18:10:12.172 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Dcatalina.base=C:\Users\Administrator.IntelliJIdea2017.1\system\tomcat\Unnamed_porject_2
06-Jul-2017 18:10:12.172 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Dcatalina.home=C:\Soft\apache-tomcat-8.5.16
06-Jul-2017 18:10:12.172 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Djava.io.tmpdir=C:\Soft\apache-tomcat-8.5.16\temp
06-Jul-2017 18:10:12.172 信息 [main] org.apache.catalina.core.AprLifecycleListener.lifecycleEvent Loaded APR based Apache Tomcat Native library [1.2.12] using APR version [1.5.2].
06-Jul-2017 18:10:12.173 信息 [main] org.apache.catalina.core.AprLifecycleListener.lifecycleEvent APR capabilities: IPv6 [true], sendfile [true], accept filters [false], random [true].
06-Jul-2017 18:10:12.173 信息 [main] org.apache.catalina.core.AprLifecycleListener.lifecycleEvent APR/OpenSSL configuration: useAprConnector [false], useOpenSSL [true]
06-Jul-2017 18:10:12.849 信息 [main] org.apache.catalina.core.AprLifecycleListener.initializeSSL OpenSSL successfully initialized [OpenSSL 1.0.2k 26 Jan 2017]
06-Jul-2017 18:10:12.968 信息 [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-8080"]
06-Jul-2017 18:10:13.009 信息 [main] org.apache.tomcat.util.net.NioSelectorPool.getSharedSelector Using a shared selector for servlet write/read
06-Jul-2017 18:10:13.013 信息 [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["ajp-nio-8009"]
06-Jul-2017 18:10:13.016 信息 [main] org.apache.tomcat.util.net.NioSelectorPool.getSharedSelector Using a shared selector for servlet write/read
06-Jul-2017 18:10:13.016 信息 [main] org.apache.catalina.startup.Catalina.load Initialization processed in 1230 ms
06-Jul-2017 18:10:13.049 信息 [main] org.apache.catalina.core.StandardService.startInternal Starting service [Catalina]
06-Jul-2017 18:10:13.049 信息 [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet Engine: Apache Tomcat/8.5.16
06-Jul-2017 18:10:13.074 信息 [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-8080"]
06-Jul-2017 18:10:13.086 信息 [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["ajp-nio-8009"]
06-Jul-2017 18:10:13.089 信息 [main] org.apache.catalina.startup.Catalina.start Server startup in 72 ms
Connected to server
[2017-07-06 06:10:13,412] Artifact cmr:war exploded: Artifact is being deployed, please wait...
06-Jul-2017 18:10:13.767 严重 [RMI TCP Connection(3)-127.0.0.1] org.apache.catalina.core.StandardContext.startInternal One or more Filters failed to start. Full details will be found in the appropriate container log file
06-Jul-2017 18:10:13.767 严重 [RMI TCP Connection(3)-127.0.0.1] org.apache.catalina.core.StandardContext.startInternal Context [] startup failed due to previous errors
[2017-07-06 06:10:13,781] Artifact cmr:war exploded: Error during artifact deployment. See server log for details.
06-Jul-2017 18:10:23.078 信息 [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployDirectory Deploying web application directory [C:\Soft\apache-tomcat-8.5.16\webapps\manager]
06-Jul-2017 18:10:23.167 信息 [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployDirectory Deployment of web application directory [C:\Soft\apache-tomcat-8.5.16\webapps\manager] has finished in [90] ms

因为跟视频里学着写的。所以,所有的代码和xml配置完全相同。jar包也一样。视频里面用的eclipse。不会报错。为什么idea 就会报错呢。

查看全部
weixin_38058352
那你好棒棒哦
2017/07/06 10:13
  • ssh
  • intellij-idea
  • 点赞
  • 收藏
  • 回答
    私信

2个回复