麻烦通过Eclipse开普勒启动tomcatv7 [英] Trouble starting tomcatv7 via Eclipse Kepler

查看:215
本文介绍了麻烦通过Eclipse开普勒启动tomcatv7的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我看到像我这样的问题已经过去了,其中一些帖子被回答了。我已经尝试了修复,这似乎应该是有效的,但我仍然遇到同样的问题:



我试图运行一个动态在Eclipse Kepler(Java EE)中的web项目通过apache tomcat 7.0.53在我的本地主机上。我已经在Eclipse中创建了tomcat作为服务器,并将配置文件从/tomcat/7.0.53/libexec/conf复制到/host / Servers / Servers / Tomcat v7.0 Server在localhost-config,并更改了文件的权限所以它们都是可读写的。



但是,当我尝试在eclipse中启动tomcat服务器时,我收到这个错误:


无法在/ Servers / Tomcat v7.0 Server在localhost-config处加载Tomcat服务器配置。配置可能已损坏或不完整。


如果它有用,它全部在mac osx 10.6.8,64 / b>

提前感谢您的帮助。

解决方案

不幸的是,这不是一个答案。我终于没有得到这个工作与eclipse开普勒。但是,当我在我的电脑上安装linux薄荷,并使用其软件安装程序来安装linux 3.8(indigo)时,添加了所有EE更新(所有的web / xml添加通过帮助 - >安装新软件 - >靛蓝更新站点),安装了tomcat 7.0,我终于得到eclipse与tomcat玩得很好(也就是说,我可以从eclipse运行tomcat上的webapp,没有将所有必需的文件复制/粘贴到tomcat中,这样可以节省我一小时的时间)。



我确定有更好的方法来做到这一点 - 如果有任何人对我最初的环境中可能出现的问题有任何想法,请告诉我 - 我是好奇为什么它不起作用这里是规范:



MacOS 10.6.8
Eclipse 4.3.2
Tomcat 7.0.54



我的道歉,Raju,因为没有早点回应。感谢您的发布。


I see that problems like mine have been posted before, some of which posts were answered. I've attempted the fixes, which indeed seem like they should have worked, but I'm still running into the same problem:

I'm trying to run a dynamic web project in Eclipse Kepler (Java EE) via apache tomcat 7.0.53 on my localhost. I've created tomcat as a server in Eclipse, and copied the config files from /tomcat/7.0.53/libexec/conf into /workspace/Servers/Tomcat v7.0 Server at localhost-config, and changed the permissions on the files so that they are all readable and writeable.

However, when I try to start the tomcat server in eclipse, I get this error:

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

In case it's helpful, it's all being run in mac osx 10.6.8, on a 64-bit machine.

Thanks in advance for your help.

解决方案

Unfortunately, this is not much of an answer. I finally never got this working with eclipse Kepler. However, when I installed linux mint on my computer, and used its software installer to install linux 3.8 (indigo), added all the EE updates (all the web/xml additions via help-->install new software-->indigo update site), installed tomcat 7.0, I finally got eclipse to play nice with tomcat (that is, I can run the webapp on tomcat from eclipse, without copy/pasting all the requisite files into tomcat, which is saving me a boatload of time).

I'm sure there is a better way to do this - if anyone has any thoughts about what may have gone wrong in my initial environment, please advise - I'm curious why it didn't work. Here were the specs:

MacOS 10.6.8 Eclipse 4.3.2 Tomcat 7.0.54

My apologies, Raju, for not responding sooner. Thanks for your post.

这篇关于麻烦通过Eclipse开普勒启动tomcatv7的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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