ubuntu eclipse+tomcat出错,tomcat单独运行没有问题,就是eclipse里调用时出错。 提示
提示:TheTomcatserverconfigurationat/Servers/Tomcatv7.0Serveratlocalhost-configismissing...
提示:The Tomcat server configuration at /Servers/Tomcat v7.0 Server at localhost-config is missing. Check the server for errors.
展开
3个回答
展开全部
很可能是Eclipse中配置server的路径指向错误导致的:
在确保Tomcat 关闭下,启动Eclipse,选择Windows->Preferences->Server->Runtime Environments->Add->Apache Tomcat V6.0->Next->Browse->“home/[your operating system account name]/ApacheTomcat ”->OK-Finish->OK
(如Tomcat安装路径是:/home/z/apache-tomcat-6.0.20,则上面引号中的字符就是:/home/z/apache-tomcat-6.0.20)
希望对你有帮助
在确保Tomcat 关闭下,启动Eclipse,选择Windows->Preferences->Server->Runtime Environments->Add->Apache Tomcat V6.0->Next->Browse->“home/[your operating system account name]/ApacheTomcat ”->OK-Finish->OK
(如Tomcat安装路径是:/home/z/apache-tomcat-6.0.20,则上面引号中的字符就是:/home/z/apache-tomcat-6.0.20)
希望对你有帮助
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询