无法加载Tomcat服务器配置 [英] Could not load the Tomcat server configuration

查看:2706
本文介绍了无法加载Tomcat服务器配置的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经安装了Apache tomcat7在Ubuntu使用sudo易于获取。我加入的Apache Tomcat 7使用Windows> preferences>服务器>运行Environment.But当我通过右键单击显示的 Tomcat的V7.0在本地主机服务器开始从服务器视图中的服务器[停下来偏食,发布]
它说:

I have installed apache tomcat7 using sudo apt get in ubuntu. I have added apache tomcat 7 to eclipse using Windows > Preferences > Server > Runtime Environment.But when I'm starting the server from server view by right clicking the shown Tomcat v7.0 Server at localhost [Stopped,Republish] It says:

无法在/服务器/ Tomcat的V7.0加载Tomcat服务器配置
  服务器在本地主机,配置。配置可能已损坏或
  不完整的。

Could not load the Tomcat server configuration at /Servers/Tomcat v7.0 Server at localhost-config. The configuration may be corrupt or incomplete.

的路径tomcat7我提供的的/ usr /共享/ tomcat7

The path to tomcat7 that I've provided is /usr/share/tomcat7

推荐答案

我刚刚遇到了在Ubuntu非常类似的问题,而试图让Eclipse的火星和Tomcat7综合因为Eclipse期待Tomcat配置文件等是所有在相同的位置,并与所需的权限,以便能够改变那些文件

I've just been encountering a very similar issue in Ubuntu while trying to get Eclipse Mars and Tomcat7 integrated because Eclipse was expecting the tomcat configuration files etc to be all in the same location, and with the necessary permissions to be able to change those files.

以下说明此博客文章,帮我到底:

cd /usr/share/tomcat7
sudo ln -s /var/lib/tomcat7/conf conf
sudo ln -s /var/log/tomcat7 log
sudo ln -s /etc/tomcat7/policy.d/03catalina.policy conf/catalina.policy
sudo chmod -R a+rwx /usr/share/tomcat7/conf

这篇关于无法加载Tomcat服务器配置的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆