NextX工作室的博客

NextX工作室强大开发团队~Come on~~~

Mac系统开发常见问题-IntelliJIDEA-TOMCAT-Unable to ping server at localhost:1099

IntelliJ IDEA之Tomcat启动相关报错:

1.EvnetLog报错:Application Server was not connected before run configuration stop, reason:
           Unable to ping server at localhost:1099

  out报:/Users/niefei/Programs/apache-tomcat-6.0.45/bin/catalina.sh run
/bin/sh: /Users/niefei/Programs/apache-tomcat-6.0.45/bin/catalina.sh: Permission denied
Disconnected from server

很明显是权限问题,我们修改一下权限即可。

chmod 755 catalina.sh 

2.EvnetLog报错:Application Server was not connected before run configuration stop, reason:

           Unable to ping server at localhost:1099

  out报:

The BASEDIR environment variable is not defined correctly
This environment variable is needed to run this program
Disconnected from server

虽然不是很明显是权限问题,但我们修改一下权限即可。Tomcat6存在,Tomcat7不存在该问题。

chmod 777 apache-tomcat-6.0.45/bin/*





阅读更多
版权声明:本文为博主原创文章,未经博主允许不得转载。 https://blog.csdn.net/ILOVESMJ/article/details/51542037
个人分类: Mac系统
想对作者说点什么? 我来说一句

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

不良信息举报

Mac系统开发常见问题-IntelliJIDEA-TOMCAT-Unable to ping server at localhost:1099

最多只允许输入30个字

加入CSDN,享受更精准的内容推荐,与500万程序员共同成长!
关闭
关闭