在idea中使用tomcat遇到的问题

|▌冷眼眸甩不掉的悲伤 提交于 2020-01-07 07:50:19

【推荐】2019 Java 开发者跳槽指南.pdf(吐血整理) >>>

 

安装tomcat遇到的问题

错误

Error running tomcat8-run-debug: Unable to open debugger port (127.0.0.1:62444): java.net.SocketException "Socket closed

解决:重新新建tomcat-application

首先使用run

然后在使用debug

 

 

Error running Unnamed: Cannot run program "/Users/apple/apache-tomcat-8.5.32/bin/catalina.sh" (in directory "/Users/apple/apache-tomcat-8.5.32/bin"): error=13, Permission denied

 

解决权限问题:首先在安装的目录下,使用命令chmod 777 * 将所有的脚本能够运行

 

Error during artifact deployment. See server log for details. -- 要不是程序打包错误,要不是tomcat配置错误

The packaging for this project did not assign a file to the build artifact

解决: 点击lifecycle下的install, 而不是在plugin下的install

 

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!