博客
关于我
强烈建议你试试无所不能的chatGPT,快点击我
解决macos下idea创建多modules项目时启动tomcat报错问题
阅读量:6581 次
发布时间:2019-06-24

本文共 6702 字,大约阅读时间需要 22 分钟。

/Users/zhangwei/Library/apache-tomcat-8.5.13/bin/catalina.sh run[2017-06-29 09:50:05,057] Artifact awbeciweb:war exploded: Server is not connected. Deploy is not available.29-Jun-2017 21:50:10.742 ?? [main] org.apache.catalina.startup.VersionLoggerListener.log Server version:        Apache Tomcat/8.5.1329-Jun-2017 21:50:10.747 ?? [main] org.apache.catalina.startup.VersionLoggerListener.log Server built:          Mar 27 2017 14:25:04 UTC29-Jun-2017 21:50:10.748 ?? [main] org.apache.catalina.startup.VersionLoggerListener.log Server number:         8.5.13.029-Jun-2017 21:50:10.748 ?? [main] org.apache.catalina.startup.VersionLoggerListener.log OS Name:               Mac OS X29-Jun-2017 21:50:10.748 ?? [main] org.apache.catalina.startup.VersionLoggerListener.log OS Version:            10.12.529-Jun-2017 21:50:10.748 ?? [main] org.apache.catalina.startup.VersionLoggerListener.log Architecture:          x86_6429-Jun-2017 21:50:10.748 ?? [main] org.apache.catalina.startup.VersionLoggerListener.log Java Home:             /Library/Java/JavaVirtualMachines/jdk1.8.0_121.jdk/Contents/Home/jre29-Jun-2017 21:50:10.749 ?? [main] org.apache.catalina.startup.VersionLoggerListener.log JVM Version:           1.8.0_121-b1329-Jun-2017 21:50:10.749 ?? [main] org.apache.catalina.startup.VersionLoggerListener.log JVM Vendor:            Oracle Corporation29-Jun-2017 21:50:10.749 ?? [main] org.apache.catalina.startup.VersionLoggerListener.log CATALINA_BASE:         /Users/zhangwei/Library/Caches/IntelliJIdea2017.1/tomcat/Unnamed_awbeciroot29-Jun-2017 21:50:10.749 ?? [main] org.apache.catalina.startup.VersionLoggerListener.log CATALINA_HOME:         /Users/zhangwei/Library/apache-tomcat-8.5.1329-Jun-2017 21:50:10.750 ?? [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Djava.util.logging.config.file=/Users/zhangwei/Library/Caches/IntelliJIdea2017.1/tomcat/Unnamed_awbeciroot/conf/logging.properties29-Jun-2017 21:50:10.750 ?? [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager29-Jun-2017 21:50:10.750 ?? [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Dcom.sun.management.jmxremote=29-Jun-2017 21:50:10.750 ?? [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Dcom.sun.management.jmxremote.port=111129-Jun-2017 21:50:10.750 ?? [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Dcom.sun.management.jmxremote.ssl=false29-Jun-2017 21:50:10.750 ?? [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Dcom.sun.management.jmxremote.authenticate=false29-Jun-2017 21:50:10.751 ?? [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Djava.rmi.server.hostname=127.0.0.129-Jun-2017 21:50:10.751 ?? [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Djdk.tls.ephemeralDHKeySize=204829-Jun-2017 21:50:10.751 ?? [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Djava.protocol.handler.pkgs=org.apache.catalina.webresources29-Jun-2017 21:50:10.751 ?? [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Dcatalina.base=/Users/zhangwei/Library/Caches/IntelliJIdea2017.1/tomcat/Unnamed_awbeciroot29-Jun-2017 21:50:10.751 ?? [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Dcatalina.home=/Users/zhangwei/Library/apache-tomcat-8.5.1329-Jun-2017 21:50:10.751 ?? [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Djava.io.tmpdir=/Users/zhangwei/Library/apache-tomcat-8.5.13/temp29-Jun-2017 21:50:10.752 ?? [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: /Users/zhangwei/Library/Java/Extensions:/Library/Java/Extensions:/Network/Library/Java/Extensions:/System/Library/Java/Extensions:/usr/lib/java:.29-Jun-2017 21:50:10.845 ?? [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-8089"]29-Jun-2017 21:50:10.867 ?? [main] org.apache.tomcat.util.net.NioSelectorPool.getSharedSelector Using a shared selector for servlet write/read29-Jun-2017 21:50:10.869 ?? [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["ajp-nio-8009"]29-Jun-2017 21:50:10.870 ?? [main] org.apache.tomcat.util.net.NioSelectorPool.getSharedSelector Using a shared selector for servlet write/read29-Jun-2017 21:50:10.870 ?? [main] org.apache.catalina.startup.Catalina.load Initialization processed in 382 ms29-Jun-2017 21:50:10.893 ?? [main] org.apache.catalina.core.StandardService.startInternal Starting service Catalina29-Jun-2017 21:50:10.893 ?? [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet Engine: Apache Tomcat/8.5.1329-Jun-2017 21:50:10.899 ?? [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-8089"]29-Jun-2017 21:50:10.904 ?? [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["ajp-nio-8009"]29-Jun-2017 21:50:10.906 ?? [main] org.apache.catalina.startup.Catalina.start Server startup in 35 msConnected to server[2017-06-29 09:50:11,363] Artifact awbeciweb:war exploded: Artifact is being deployed, please wait...[2017-06-29 09:50:11,392] Artifact awbeciweb:war exploded: Error during artifact deployment. See server log for details.29-Jun-2017 21:50:20.904 ?? [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployDescriptor Deploying configuration descriptor /Users/zhangwei/Library/Caches/IntelliJIdea2017.1/tomcat/Unnamed_awbeciroot/conf/Catalina/localhost/ROOT.xml29-Jun-2017 21:50:21.190 ?? [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployDescriptor Deployment of configuration descriptor /Users/zhangwei/Library/Caches/IntelliJIdea2017.1/tomcat/Unnamed_awbeciroot/conf/Catalina/localhost/ROOT.xml has finished in 285 ms29-Jun-2017 21:50:21.190 ?? [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployDirectory Deploying web application directory /Users/zhangwei/Library/apache-tomcat-8.5.13/webapps/manager29-Jun-2017 21:50:21.214 ?? [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployDirectory Deployment of web application directory /Users/zhangwei/Library/apache-tomcat-8.5.13/webapps/manager has finished in 24 ms

问题一:Maven包缺失

clipboard.png

图片描述

问题一解决办法:在Maven projects上面双击相应的报错包就自动下载maven缺失的包了,好像有其它方法,暂且这么做吧!!!

问题二:Tomcat8.5.13启动报错,换成8.5.16就OK了,可能跟版本兼容性相关吧

问题二:解决办法:换tomcat版本

1.

2.
3.

转载地址:http://ppino.baihongyu.com/

你可能感兴趣的文章
[Angularjs]系列——学习与实践
查看>>
js -- canvas img 封装
查看>>
转 我们工作的动力是什么 工作最终是为了什么?
查看>>
测试一个网站的最大并发量并发数并发用户
查看>>
适配器模式(数据库方面)支持不同的数据库连接
查看>>
CF456B Fedya and Maths 找规律
查看>>
nodejs安装及windows环境配置
查看>>
转载:Beginning WF 4.0翻译——第三章(流程图工作流)
查看>>
mysql alter table
查看>>
芯片测试
查看>>
在源代码中插入防止盗版代码片段的方式
查看>>
hdu 3367 Pseudoforest(最大生成树)
查看>>
一个人,一则故事,一份情愫,一个世界……
查看>>
ffserver联合ffmpeg建立媒体服务器
查看>>
下载稻草人下来刷新+gallery
查看>>
删除浏览器浏览器删除cookie方法
查看>>
微软URLRewriter.dll的url重写的简单使用(实现伪静态)
查看>>
leetcode -- Combination Sum II
查看>>
1z0-052 q209_7
查看>>
PIN码计算锦集
查看>>