- Building Web Apps with Spring 5 and Angular
- Ajitesh Shukla
- 253字
- 2021-07-02 19:38:23
Adding/configuring Apache Tomcat in Eclipse
In this section, we will learn how to add and configure Apache Tomcat in Eclipse. This will help to start and stop the server from within the Eclipse IDE.
The following steps need to be taken to achieve this objective:
- Make sure you are in Java EE perspective.
- Click on the Servers tab in the lower panel. You will find a link saying No servers are available. Click this link to create a new server.... Click on this link.
- Type Tomcat under Select the server type. It would show a list of Tomcat servers with different versions. Select Tomcat v8.5 Server, and click on Next.
- Select the Tomcat installation directory. Click on the Installed JREs... button, and make sure that the appropriate JRE is checked. Click on Next.
- Click on Finish. This would create an entry for the Tomcat server in the Servers tab.
- Double-click on Tomcat server. This would open up a configuration window where multiple options such as Server Locations, Server Options, Ports can be configured.
- Under Server Locations, click on the Browse Path button to select the path to the webapps folder within your local Tomcat installation folder. Once done, save it using Ctrl + S.
- Right-click on the Tomcat Server link listed under the Servers panel, and click on Start.
- This should start the server. You should be able to access the Tomcat page on the URL http://localhost:8080/.
推薦閱讀
- The Complete Rust Programming Reference Guide
- Vue.js設計與實現
- MATLAB圖像處理超級學習手冊
- Manga Studio Ex 5 Cookbook
- R語言數據可視化之美:專業圖表繪制指南
- Mastering Unity Shaders and Effects
- SQL Server 2012數據庫管理與開發項目教程
- concrete5 Cookbook
- Hands-On Swift 5 Microservices Development
- 大模型RAG實戰:RAG原理、應用與系統構建
- PHP 7+MySQL 8動態網站開發從入門到精通(視頻教學版)
- 數據結構習題解析與實驗指導
- 深入理解Android:Wi-Fi、NFC和GPS卷
- Mastering Linux Security and Hardening
- Simulation for Data Science with R