I am having trouble running tomcat 7 in eclipse kepler (newest version). I create a new project and when I select a new runtime I do not get the options for tomcat like I use to in eclipse Juno. So my question is how do I set up tomcat with eclipse kepler.
Installing server runtimeStart the Eclipse WTP workbench. Open Window -> Preferences -> Server -> Installed Runtimes to create a Tomcat installed runtime. Click on Add... to open the New Server Runtime dialog, then select your runtime under Apache (Apache Tomcat v5. 0 in this example):
Tomcat 10 is supported since WTP 3.20 (Eclipse 2020-12): cf.
For configuring the tomcat server in eclipse IDE, click on servers tab at the bottom side of the IDE -> right click on blank area -> New -> Servers -> choose tomcat then its version -> next -> click on Browse button -> select the apache tomcat root folder previous to bin -> next -> addAll -> Finish.
If you did not install the package Eclipse IDE for Java EE Developers so you have to make sure that you install the plug-in "JST Server Adapters Extensions".
To do so, go to Help->Install New Software... and select the "Kepler" repository. Then expand "Web, XML, Java EE and OSGi Enterprise Development" and check the box for "JST Server Adapters Extensions". Click "Finish", accept, install and restart. Now you should be able to add the new server like you're used to.
Are you sure, you installed "Eclipse IDE for Java EE Developers"
?
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With