The article represents steps required to configure Tomcat 8 with Eclipse Kepler.
- Download Tomcat 8 and place it within any local folder.
- Download Eclipse Java EE Kepler
- As of date, Tomcat 8 is not supported in Eclipse JaveEE Kepler. However, you could add the Tomcat 8 by doing following:
- Go to the WTP downloads page, select the latest version (currently 3.6), and download the zip. Here’s the current link.
- Copy the all of the files in features and plugins directories of the downloaded WTP into the corresponding Eclipse directories in your Eclipse folder (overwriting the existing files).
- Start Eclipse and click on “Servers” tab in the workbench. Go ahead and try adding a new server. You would find option for Tomcat 8 available for selection as shown below.
- After clicking Finish, you would see a new server added with the name as “Tomcat v8.0 Server at localhost”. Start the server.
- Check http://localhost:8080 (provided you installed Tomcat 8 and set Http port as 8080)
- Interestingly, you would NOT see the welcome page, but the 404 error page.
- To get rid of that, Double click on “Tomcat v8.0 Server at localhost”. In the window that opens up, select “Use Tomcat installation” and, change deploy path from wtpwebapps to webapps. Look at the figure below.
- Restart the server and access http://localhost:8080 . You are all set.
[adsenseyu1]
Latest posts by Ajitesh Kumar (see all)
- Sparse Mixture of Experts (MoE) Models: Examples - October 6, 2024
- Anxiety Disorder Detection & Machine Learning Techniques - October 4, 2024
- Confounder Features & Machine Learning Models: Examples - October 2, 2024
Please provide link for downloading WTP
Thanks a ton ! Clear instructions and it saved a lot of my time.
Thanks for your comment, Karthik.
Here is the link: http://www.eclipse.org/downloads/download.php?file=/webtools/downloads/drops/R3.6.0/S-3.6.0M7-20140505163128/wtp4x-S-3.6.0M7-20140505163128.zip
Excelent. Works just fine!
Hi, what if you can’t edit the “server locations”? It is disabled in my eclipse.
Hi, what if you can’t edit the “server locations”? It is disabled in my eclipse. (edit, found it here: http://stackoverflow.com/a/4919907/878612)
Excellent Ajitesh…works like a charm
Awesome! Thank you! 🙂
Thanks … It works on my elipse juno….
Thanks you so much for your knowledge