当前位置:首页 > 开发 > 编程语言 > Eclipse > 正文

Installing Tomcat 7 and Using it with Eclipse

发表于: 2013-04-24   作者:darrenzhu   来源:转载   浏览次数:
摘要: Reference URL http://www.coreservlets.com/Apache-Tomcat-Tutorial/tomcat-7-with-eclipse.html After you new a tomcat server in eclipse and use worspace metadata(does not modify Tomcat installation
Reference URL
http://www.coreservlets.com/Apache-Tomcat-Tutorial/tomcat-7-with-eclipse.html

After you new a tomcat server in eclipse and use worspace metadata(does not modify Tomcat installation), you may see 404 error when accessing localhost:8080/, you need to do the following thing:

Copy the ROOT (Default) Web App into Eclipse.

Eclipse forgets to copy the default apps (ROOT, examples, etc.) when it creates a Tomcat folder inside the Eclipse workspace. Go to C:\apache-tomcat-7.0.34\webapps, R-click on the ROOT folder and copy it. Then go to your Eclipse workspace, go to the .metadata folder, and search for "wtpwebapps". You should find something like your-eclipse-workspace\.metadata\.plugins\org.eclipse.wst.server.core\tmp0\wtpwebapps (or .../tmp1/wtpwebapps if you already had another server registered in Eclipse). Go to the wtpwebapps folder, R-click, and paste ROOT (say "yes" if asked if you want to merge/replace folders/files). Then reload http://localhost/ to see the Tomcat welcome page.

Installing Tomcat 7 and Using it with Eclipse

  • 0

    开心

    开心

  • 0

    板砖

    板砖

  • 0

    感动

    感动

  • 0

    有用

    有用

  • 0

    疑问

    疑问

  • 0

    难过

    难过

  • 0

    无聊

    无聊

  • 0

    震惊

    震惊

编辑推荐
环境:windows7 32,已配置好java环境 一.eclipse 安装 上eclipse官网(http://www.eclipse.org/down
http://www.techotopia.com/index.php/Installing_and_using_GNUstep_and_Objective-C_on_Windows I
下载tomcat7 源码 1.进入github:github tomcat70 2.直接fork一个,然后在本地找一个目录,运行 git
原文地址:http://panpan.blog.51cto.com/489034/120826 由于现在项目相对比较轻松,而且项目是研究
下载tomcat源代码 获取tomcat源代码有两种方法。 直接下载源代码压缩包 tomcat6下载地址:http://ap
准备好好研究学习一下tomcat 7 的源代码,那么第一步就是下载,导入eclipse并且运行。 1. 下载源代码
准备好好研究学习一下tomcat 7 的源代码,那么第一步就是下载,导入eclipse并且运行。 1. 下载源代码
原文地址:http://www.brighthub.com/hubfolio/matthew-casperson/articles/78818.aspx Flash devel
This guide walks you through the necessary steps to configure the Eclipse IDE for PHP debuggi
This guide walks you through the necessary steps to configure the Eclipse IDE for PHP debuggi
版权所有 IT知识库 CopyRight © 2009-2015 IT知识库 IT610.com , All Rights Reserved. 京ICP备09083238号