Over a million developers have joined DZone.

How to Add Tomcat 8 to Eclipse Kepler

· Integration Zone

Build APIs from SQL and NoSQL or Salesforce data sources in seconds. Read the Creating REST APIs white paper, brought to you in partnership with CA Technologies.

 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.tomcat8 server
  • 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.tomcat8 server config
  • Restart the server and access http://localhost:8080 . You are all set.

The Integration Zone is brought to you in partnership with CA Technologies.  Use CA Live API Creator to quickly create complete application backends, with secure APIs and robust application logic, in an easy to use interface.

Topics:
java ,enterprise-integration ,integration ,tomcat 8 ,eclipse kepler ,eclipse

Published at DZone with permission of Ajitesh Kumar, DZone MVB. See the original article here.

Opinions expressed by DZone contributors are their own.

The best of DZone straight to your inbox.

SEE AN EXAMPLE
Please provide a valid email address.

Thanks for subscribing!

Awesome! Check your inbox to verify your email so you can start receiving the latest in tech news and resources.
Subscribe

{{ parent.title || parent.header.title}}

{{ parent.tldr }}

{{ parent.urlSource.name }}