原文出处:http://blog.csdn.net/sunshinegirl168660/article/details/72674305

如果在刚刚启动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

经过实验解决方法如下:

首先点击File–>Project Structure–>Path, 把path路径改为/web/WEB_INF/classes , 然后在运行tomcat,可能会出现权限问题,例如:
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 (权限不够)

这时需要在命令行界面递归修改tomcat主目录权限,命令如下:

chmod -R 755 apache-tomcat8.5.15

此时再运行tomcat,便可以了

Linux  系统中运行idea出现error running问题

 

相关文章:

  • 2021-07-30
  • 2021-11-10
  • 2022-12-23
  • 2021-11-25
  • 2021-06-27
  • 2021-08-30
  • 2021-04-08
  • 2021-08-09
猜你喜欢
  • 2021-12-13
  • 2021-07-18
  • 2021-11-03
  • 2021-09-03
  • 2021-06-11
  • 2021-08-21
  • 2021-10-10
相关资源
相似解决方案