IntelliJ IDE运行Tomcat报错:Unable to ping server at localhost:1099

由于Tomcat默认关闭JMX功能,但IntelliJ IDE配置的IDE需要提供JMX功能,所以IntelliJ IDE运行Tomcat报错:Unable to ping server at localhost:1099!
这里写图片描述

这里写图片描述
解决的办法:
1、为Tomcat开启JMX功能,比较麻烦。
2、不使用JMX功能,修改host文件:

127.0.0.1   localhost [添加计算机名]

例如我的计算机名为Linux,所以设置为

127.0.0.1   localhost Linux

Done!

发布了72 篇原创文章 · 获赞 26 · 访问量 31万+
展开阅读全文

在IntelliJ IDEA中启动tomcat是遇到了问题,请大神帮忙解决

03-18

一下是我启动时控制台报的错误: 信息: Server startup in 115 ms Connected to server [2017-03-19 12:28:48,122] Artifact RobotMonitoringSystem:war exploded: Artifact is being deployed, please wait... 三月 19, 2017 12:28:50 上午 org.apache.catalina.startup.TldConfig execute 信息: 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. 三月 19, 2017 12:28:51 上午 org.apache.catalina.core.StandardContext startInternal 严重: One or more listeners failed to start. Full details will be found in the appropriate container log file 三月 19, 2017 12:28:51 上午 org.apache.catalina.core.StandardContext startInternal 严重: Context [/RobotMonitoringSystem] startup failed due to previous errors contex 1111 [2017-03-19 12:28:51,148] Artifact RobotMonitoringSystem:war exploded: Error during artifact deployment. See server log for details. Exception in thread "CometConnectorCleaner Thread" java.lang.NullPointerException at org.comet4j.core.CometConnector$CacheCleaner.checkExpires(CometConnector.java:120) at org.comet4j.core.CometConnector$CacheCleaner.run(CometConnector.java:113) at java.lang.Thread.run(Thread.java:745) 三月 19, 2017 12:28:57 上午 org.apache.catalina.startup.HostConfig deployDirectory 信息: Deploying web application directory D:\Tomcat\apache-tomcat-7.0.70\webapps\manager 三月 19, 2017 12:28:58 上午 org.apache.catalina.startup.HostConfig deployDirectory 信息: Deployment of web application directory D:\Tomcat\apache-tomcat-7.0.70\webapps\manager has finished in 472 ms tomcat localhost log中的信息: 三月 19, 2017 12:28:51 上午 org.apache.catalina.core.ApplicationContext log 信息: Initializing Spring root WebApplicationContext 三月 19, 2017 12:28:51 上午 org.apache.catalina.core.StandardContext listenerStart 严重: Exception sending context initialized event to listener instance of class org.springframework.web.context.ContextLoaderListener java.lang.NoSuchMethodError: org.slf4j.spi.LocationAwareLogger.log(Lorg/slf4j/Marker;Ljava/lang/String;ILjava/lang/String;Ljava/lang/Throwable;)V 问答

没有更多推荐了,返回首页

©️2019 CSDN 皮肤主题: 编程工作室 设计师: CSDN官方博客

分享到微信朋友圈

×

扫一扫,手机浏览