mac Intellij Idea Tmocat 启动报 Error running Tomcat: /conf/Catalina
原因:主要是tomcat下Catalina目录没有权限导致,将其设置读写权限即可
如果在刚刚启动tomcat时出现以下问题:
Error running Tomcat 8.5.31: Error copying configuration files from /usr/local/apache-tomcat-8.5.3/conf to /Users/zhouyuchen/Library/Caches/IntelliJIdea2016.1/tomcat/Tomcat_8_5_31_ttt/conf: Directory is invalid /usr/local/apache-tomcat-8.5.3/conf/Catalina
解决方案:
cd /Library/Tomcat/conf/
sudo chmod 777 Catalina
然后又出现这样的错误:
Error running tomcat8.5.15: Error copying configuration files from /home/dell/software/apache-tomcat-8.5.15/conf to /home/dell/.IntelliJIdea2017.1/system/tomcat/Unnamed_LibManage/conf: /home/dell/software/apache-tomcat-8.5.15/conf/Catalina/localhost (权限不够)
依次输入
最终在运行
可能会报8080端口被占用
在IntelliJ IDEA可以修改
或者在run下面也有
只有在泥泞的道路上才能留下脚印