mac Intellij Idea Tmocat 啓動報 Error running Tomcat: /conf/Catalina

緣由:主要是tomcat下Catalina目錄沒有權限致使,將其設置讀寫權限便可apache

若是在剛剛啓動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/Catalinatomcat

解決方案:spa

cd /Library/Tomcat/conf/

sudo chmod 777 Catalina

 

而後又出現這樣的錯誤:code

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 (權限不夠)

blog

 

依次輸入io

 

最終在運行class

可能會報8080端口被佔用file

在IntelliJ IDEA能夠修改權限

 

或者在run下面也有im

 

 

 

相關文章
相關標籤/搜索