score:81
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.
score:0
i had a similar issue with a 404 in tomcat 7 in kepler:
i could run tc fine outside of eclipse but could not start it from within eclipse.
my problem was that eclipse did not copy the root app over to the eclipse tc directory. once i copied the root app over i was fine.
this link solved my problem:
http://www.coreservlets.com/apache-tomcat-tutorial/tomcat-7-with-eclipse.html
hope this helps and saves you a lost morning like i went through!
score:1
okay, i figured this out for anyone interested. i'm in kepler sr1.
go to window > preferences. click on server > runtime environments. click add... select apache tomcat v7.0, then click next. browse to where you installed tomcat. click finish.
it will then be available in your new project dialog.
edit: this was with ee version of kepler. if you downloaded another version, see al's comment below.
score:3
elaborating on marvin emil brach's answer, for those who try to set up eclipse for tomee 1.6 (which is based on tomcat 7):
there's the guide at http://openejb.apache.org/tomee-and-eclipse.html. but if you want to use an existing eclipse standard ide (kepler sr2) installation - i.e. not the "eclipse ide for java ee developers" - you'll run into this exception:
java.lang.nullpointerexception: no imodelprovider exists for project p/[...] of version: dynamic web module 3.0
just installing the jst server adapters as recommended before didn't do it for me, but i found this hint: http://juhap.iki.fi/misc/nullpointerexception-while-creating-new-portlet-project-in-liferay-ide/. another plugin i needed to get the server editor is wst server adapters. so the complete set of plugins i had to install for fixing this is:
- eclipse java ee developer tools
- jst server adapters
- jst server adapters extensions
- jst server ui
- eclipse java web developer tools
- eclipse web developer tools
- wst server adapters
score:4
right click on "server" tab at the bottom -> new -> server -> tomcat7.0
score:5
are you sure, you installed "eclipse ide for java ee developers"
?
Source: stackoverflow.com
Related Query
- Running tomcat with eclipse kepler
- Multiple contexts with the same path error running web service in Eclipse using Tomcat
- 404 error with a simple RESTeasy service on tomcat 8 running with eclipse luna
- Tomcat crashes Eclipse Kepler with "Failed to write core dump."
- Resource not available error using Eclipse Kepler with Struts 2 + Tomcat 7
- How to debug javascript with Eclipse running local Tomcat server
- running and deploying servlet with eclipse and tomcat 7
- Tomcat server not running in eclipse with project
- Tomcat 8 running on Linux with remote debug connection ESTABLISHED from Eclipse but breakpoint doesn't stop
- system restarts while running a java web application in eclipse with tomcat server
- Issue running Web app in eclipse with tomcat 8 on mac
- Running web project with tomcat server from eclipse
- Spring boot not running with Tomcat in Eclipse
- Having trouble with installing Apache Tomcat 8.0.9 in eclipse kepler
- Eclipse with tomcat : java.lang.reflect.InvocationTargetException when I try running a web service client
- Getting NoClassDefFoundError for BodyTagSupport with TomCat running from Eclipse
- The requested resource is not available.on running spring mvc program on eclipse with tomcat
- Running a RESTful Web Service in Eclipse with Apache Tomcat
- HTTP 404 Error when running a Hello World servlet with Tomcat 7 in Eclipse 3.7
- How to downgrade Java from 9 to 8 on a MACOS. Eclipse is not running with Java 9
- Remote debugging Tomcat with Eclipse
- Speeding up Tomcat in debug mode with Eclipse IDE
- java.lang.OutOfMemoryError: PermGen space in tomcat with eclipse
- difference between clean and clean working directory in Eclipse WTP with Tomcat
- How to add Tomcat 8 to Eclipse Kepler without installing the big whole WTP package
- Running Eclipse Junit Plugin tests with Junit 4.4 or newer -- why aren't tests detected?
- HTTP Error 404 when running Tomcat from Eclipse
- Eclipse Kepler Crash after startup with Message:-Java heap space
- Eclipse Kepler auto exit on loading workbench with error
- ClassNotFoundException when running a Spring + Maven2 project on Tomcat 6 from within Eclipse 3.5
More Query from same tag
- i18n in Java - translation keys to enums / unused keys
- Debugging breakpoints on JUnit test in Eclipse are not working
- Weird deployement on Tomcat with Eclipse
- org.xmlpull.v1.XmlPullParserException
- Modification in Java file, is it required to run ndk-build every time?
- IntelliJ Cursive s-form documentation on hover over
- Unable to Instantiate Activity: ClassNotFound Exception
- How to make ImageView fill vertically within RelativeLayout
- Eclipse and m2e - test classpath
- How do I load an external jar file in a Applet?
- Every folder in my android project has a desktop.ini file
- Ant logger level ignored in Eclipse ONLY when "Run in the same JRE as the workspace"
- How to change the way eclipse showing suggestion?
- How to implement a PropertyPage with the Eclipse e4 API?
- Git keywords for code templates
- Erros when i create a new android project
- How to not show context menu for multi selection in Eclipse Plugin Development
- JUnit Test Cases for Web Services
- Compile android project to apk without eclipse
- Android Gingerbread phones are not recognized
- Need help understanding glDrawElements for GLES 2.0
- How do I compare two files using Eclipse? Is there any option provided by Eclipse?
- Eclipse: Incompatible JVM: Version 1.8.0_281 of the JVM is not suitable for this product. Version: 11 or greater is required
- Android action bar not placing buttons linearly
- It is failed to create Java Virtual Machine
- Connection timed out: connect, Eclipse juno + EGit
- "no main manifest attribute"
- Eclipse editor doesn't recognize Scipy content
- Why does my eclipse fail to start android virtual device, when the files are there?
- AXIS-JAXB Unmarshal not working with any JDK except jdk 1.8.077