开发者社区> 问答> 正文

intellij idea 中tomcat报错Error during arti?400报错

/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


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

展开
收起
爱吃鱼的程序员 2020-06-08 13:40:16 1075 0
1 条回答
写回答
取消 提交回答
  • https://developer.aliyun.com/profile/5yerqm5bn5yqg?spm=a2c6h.12873639.0.0.6eae304abcjaIB

    去看tomcatcatalina和localhost目录即可

    请问,这个解决了吗?

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

    2020-06-08 13:40:27
    赞同 展开评论 打赏
问答排行榜
最热
最新

相关电子书

更多
Apache Tomcat 的云原生演进 立即下载
蚂蚁金服高级开发工程师萧恺:IDEA 插件开发入门教程 立即下载
低代码开发师(初级)实战教程 立即下载