intellij idea 中tomcat报错Error during artifact deployment. See server log for details.

木mu 发布于 2017/06/12 22:22
阅读 4K+
收藏 0

/opt/apache-tomcat-8.5.15/bin/catalina.sh run
Using CATALINA_BASE:   /root/.IntelliJIdea2017.1/system/tomcat/Unnamed_exam_2
Using CATALINA_HOME:   /opt/apache-tomcat-8.5.15
Using CATALINA_TMPDIR: /opt/apache-tomcat-8.5.15/temp
Using JRE_HOME:        /opt/Java/jdk1.8.0_131
Using CLASSPATH:       /opt/apache-tomcat-8.5.15/bin/bootstrap.jar:/opt/apache-tomcat-8.5.15/bin/tomcat-juli.jar
[2017-06-12 10:15:55,792] Artifact unnamed: Server is not connected. Deploy is not available.
12-Jun-2017 22:15:57.371 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log Server version:        Apache Tomcat/8.5.15
12-Jun-2017 22:15:57.379 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log Server built:          May 5 2017 11:03:04 UTC
12-Jun-2017 22:15:57.379 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log Server number:         8.5.15.0
12-Jun-2017 22:15:57.380 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log OS Name:               Linux
12-Jun-2017 22:15:57.380 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log OS Version:            4.8.0-54-generic
12-Jun-2017 22:15:57.390 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log Architecture:          amd64
12-Jun-2017 22:15:57.390 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log Java Home:             /opt/Java/jdk1.8.0_131/jre
12-Jun-2017 22:15:57.390 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log JVM Version:           1.8.0_131-b11
12-Jun-2017 22:15:57.391 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log JVM Vendor:            Oracle Corporation
12-Jun-2017 22:15:57.391 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log CATALINA_BASE:         /root/.IntelliJIdea2017.1/system/tomcat/Unnamed_exam_2
12-Jun-2017 22:15:57.391 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log CATALINA_HOME:         /opt/apache-tomcat-8.5.15
12-Jun-2017 22:15:57.392 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Djava.util.logging.config.file=/root/.IntelliJIdea2017.1/system/tomcat/Unnamed_exam_2/conf/logging.properties
12-Jun-2017 22:15:57.392 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager
12-Jun-2017 22:15:57.392 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Dcom.sun.management.jmxremote=
12-Jun-2017 22:15:57.393 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Dcom.sun.management.jmxremote.port=1099
12-Jun-2017 22:15:57.393 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Dcom.sun.management.jmxremote.ssl=false
12-Jun-2017 22:15:57.393 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Dcom.sun.management.jmxremote.authenticate=false
12-Jun-2017 22:15:57.393 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Djava.rmi.server.hostname=127.0.0.1
12-Jun-2017 22:15:57.393 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Djdk.tls.ephemeralDHKeySize=2048
12-Jun-2017 22:15:57.393 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Djava.protocol.handler.pkgs=org.apache.catalina.webresources
12-Jun-2017 22:15:57.393 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Dcatalina.base=/root/.IntelliJIdea2017.1/system/tomcat/Unnamed_exam_2
12-Jun-2017 22:15:57.394 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Dcatalina.home=/opt/apache-tomcat-8.5.15
12-Jun-2017 22:15:57.394 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Djava.io.tmpdir=/opt/apache-tomcat-8.5.15/temp
12-Jun-2017 22:15:57.394 信息 [main] 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: [bin::/usr/java/packages/lib/amd64:/usr/lib64:/lib64:/lib:/usr/lib]
12-Jun-2017 22:15:57.795 信息 [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-8080"]
12-Jun-2017 22:15:57.914 信息 [main] org.apache.tomcat.util.net.NioSelectorPool.getSharedSelector Using a shared selector for servlet write/read
12-Jun-2017 22:15:57.931 信息 [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["ajp-nio-8009"]
12-Jun-2017 22:15:57.935 信息 [main] org.apache.tomcat.util.net.NioSelectorPool.getSharedSelector Using a shared selector for servlet write/read
12-Jun-2017 22:15:57.939 信息 [main] org.apache.catalina.startup.Catalina.load Initialization processed in 1428 ms
12-Jun-2017 22:15:58.089 信息 [main] org.apache.catalina.core.StandardService.startInternal Starting service [Catalina]
12-Jun-2017 22:15:58.092 信息 [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet Engine: Apache Tomcat/8.5.15
12-Jun-2017 22:15:58.145 信息 [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-8080"]
12-Jun-2017 22:15:58.167 信息 [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["ajp-nio-8009"]
12-Jun-2017 22:15:58.171 信息 [main] org.apache.catalina.startup.Catalina.start Server startup in 231 ms
Connected to server
[2017-06-12 10:15:58,224] Artifact unnamed: Artifact is being deployed, please wait...
[2017-06-12 10:15:58,263] Artifact unnamed: Error during artifact deployment. See server log for details.
[2017-06-12 10:15:58,264] Artifact unnamed: com.intellij.javaee.oss.admin.jmx.JmxAdminException: com.intellij.execution.ExecutionException: /home/mumu/git/exam/out/artifacts/unnamed/unnamed.war not found for the web module.
12-Jun-2017 22:16:08.160 信息 [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployDirectory Deploying web application directory [/opt/apache-tomcat-8.5.15/webapps/manager]
12-Jun-2017 22:16:08.706 信息 [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployDirectory Deployment of web application directory [/opt/apache-tomcat-8.5.15/webapps/manager] has finished in [545] ms


这个怎么弄???不是很懂

加载中
0
路上有你0314
路上有你0314

去看tomcat catalina和localhost目录即可

0
臭水沟
臭水沟

请问,这个解决了吗?

现在也碰到这个问题。纠结。

返回顶部
顶部