Tomcat无法从Ubuntu启动IDE(Eclipse Luna WTP& IntelliJ IDEA) [英] Tomcat can't start from IDE (Eclipse Luna WTP & IntelliJ IDEA) in Ubuntu
问题描述
运行index.jsp(1)时出错:从
/opt/tomcat8/apache-tomcat-8.0.12/conf将配置文件复制到
/ home / vy /。 IntelliJIdea13 / system / tomcat / _EE01 / conf:
/opt/tomcat8/apache-tomcat-8.0.12/conf/catalina.policy(Permission
denied)
< blockquote>
我也尝试使用Eclipse 4.4 WTP,与Tomcat 8.0.12有同样的问题,虽然Eclipse不会注意到像IntelliJ IDEA:
服务器错误Tomcat服务器配置在/ Servers / Tomcat v8.0
localhost-config上的服务器丢失。检查服务器是否存在错误。
原因:缺少本地主机配置上的/ Server / Tomcat v8.0 Server
处的Tomcat服务器配置。检查服务器是否有错误。
帮助我解决错误。
解决方案关注Ruchira Gayan Ranaweera 的评论,与:
Eclispe 目录是:/ opt / eclipse
IntelliJ IDEA 目录是/ opt / intellij-idea
_
Tomcat 目录是:/ opt / tomcat8
Eclipse工作区目录是默认的sudo chmod 777 / opt / eclipse -R
sudo chmod 777 / opt / intellij-idea -R
sudo chmod 777 / opt / tomcat8 -R
sudo chmod 777 / home / user_name / workspace / Servers - R
我已经从IDE成功启动了应用程序服务器。
I am use Tomcat 8.0.12, Ubuntu 14.04.1, IntelliJ IDEA 13.1.5, I try to run a simple jsp file, then IDE notice:
Error running index.jsp (1): Error copying configuration files from /opt/tomcat8/apache-tomcat-8.0.12/conf to /home/vy/.IntelliJIdea13/system/tomcat/_EE01/conf : /opt/tomcat8/apache-tomcat-8.0.12/conf/catalina.policy (Permission denied)
I also try use Eclipse 4.4 WTP, with Tomcat 8.0.12, there are same problem, although Eclipse don't notice like IntelliJ IDEA:
Server Error The Tomcat server configuration at /Servers/Tomcat v8.0 Server at localhost-config is missing. Check the sever for errors.
Reason: The Tomcat server configuration at /Server/Tomcat v8.0 Server at localhost-config is missing. Check the server for errors.
Help me resove this error.
解决方案Follow Ruchira Gayan Ranaweera's comment, with:
Eclispe directory is:/opt/eclipse
IntelliJ IDEA directory is/opt/intellij-idea
Tomcat directory is:/opt/tomcat8
Eclipse workspace directory is defaultsudo chmod 777 /opt/eclipse -R sudo chmod 777 /opt/intellij-idea -R sudo chmod 777 /opt/tomcat8 -R sudo chmod 777 /home/user_name/workspace/Servers – R
I have fired up the application server successfully from the IDE.
这篇关于Tomcat无法从Ubuntu启动IDE(Eclipse Luna WTP& IntelliJ IDEA)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!