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.
分享到:
相关推荐
Chapter 4 Installing and Beginning Use of Android Tools Installing Java Development Kit Installing the Android SDK Hello World! Anatomy of an Android Project Drawable Resources Building the Project ...
Installing and Configuring Openfiler with DRBD and Heartbeat
eCos RedBoot guide-A guide for installing and using RedBootdebug and bootstrap firmware.eCos操作系统redboot源码详细说明及使用移植说明
You will find details for using Tomcat on all major platforms, including Windows, Linux, OS X, Solaris, and FreeBSD, along with specifics on Tomcat configuration files, and step-by-step advice for ...
The authors, David Gallardo, Ed Burnette, and Robert McGovern, have structured the content into two main parts: using Eclipse and extending Eclipse. This approach ensures that readers not only learn ...
Note about 0.9.8 Workspace Incompatibility: If you are using m2eclipse 0.10.0 with a workspace that contains projects created under m2eclipse 0.9.8, you must remove the workspaceState.ser file....
3. **具体错误**:“Failed installing Tomcat6 service”。 4. **错误位置**:在执行 `$tomcat_install/logs/jakarta_service_date.log` 日志文件中记录的 `service.bat` 文件时出现。 #### 解决方案 为了解决...
Website Scraping with Python: Using BeautifulSoup and Scrapy By 作者: Gábor László Hajba ISBN-10 书号: 1484239245 ISBN-13 书号: 9781484239247 Edition 版本: 1st ed. 出版日期: 2018-09-15 pages 页数: ...
Designed for experienced IT professionals ready to advance their status, Exam Ref focuses on the critical thinking and decision making acumen needed for success at the MCSA level. Focus on the ...
■ How Docker can benefit you: I explain the benefits of creating and run- ning applications in containers, instead of installing software packages (in formats such as RPM or Deb) and running ...
Using Qt Jambi in the Eclipse IDE Integrating C++ Components with Qt Jambi Appendix D. Introduction to C++ for Java and C# Programmers Getting Started with C++ Main Language Differences The...
Note about 0.9.8 Workspace Incompatibility: If you are using m2eclipse 0.10.0 with a workspace that contains projects created under m2eclipse 0.9.8, you must remove the workspaceState.ser file....
Getting MEAN with Mongo, Express, Angular, and Node teaches readers how to develop web applications end-to-end using the MEAN stack. You'll systematically discover each technology in the MEAN stack as...