Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

eclipse tomcat 7.0

I'm trying to set up an Apache Tomcat 7.0 server in Eclipse, but I can't get the wizard to let me create it. My NEXT button won't highlight after I select Tomcat v7.0 like so:

enter image description here

I don't have the same problem trying to create any other version of Tomcat, just v7.0:

enter image description here

Info about my system: -I've had it up and running previously, but had to go through a reboot with my system, Eclipse was untouched as it was on a different HDD -I've reinstalled Tomcat 7.0 twice, once to the drive containing this particular Eclipse Workspace, and once to my main OS drive, both to no avail.

Can anyone tell me what I did wrong here or what's going on here?

Thank you very much.

like image 373
nzondlo Avatar asked Jan 09 '13 01:01

nzondlo


People also ask

Which Tomcat version is suitable for Java 7?

Download Java Development Kit (JDK) versions 6 and 7 Building Apache Tomcat requires a Java 6 JDK to be installed and optionally a Java 7 JDK installed in parallel with Java 6 one. The Java 7 JDK is only required if you wish to build Tomcat with JSR-356 (Java WebSocket 1.1) support.

Is Tomcat 7 deprecated?

Because Tomcat 7 has reached the end of community support on 23 March 2021, applications hosted on App Service will continue to run, but they will not receive updates or security patches because they are no longer available.

Is Tomcat included in Eclipse?

Eclipse is a very powerful development environment for Java. Mainly for Web Development project you need Web Server. Apache Tomcat is the best production ready web container. By default when you download Eclipse IDE, it doesn't come with Tomcat install with it.


3 Answers

  1. Close Eclipse
  2. In {workspace-directory}/.metadata/.plugins/org.eclipse.core.runtime/.settings delete the following two files: org.eclipse.wst.server.core.prefs org.eclipse.jst.server.tomcat.core.prefs
  3. Restart Eclipse
like image 142
Luca Avatar answered Oct 15 '22 20:10

Luca


In your eclipse menu go to window > server > runtime environments > hit add > select tomcat 7 > hit next press browse and navigate to the installation directory and finish. Will solve this issue.

like image 45
Sean F Avatar answered Oct 15 '22 18:10

Sean F


1.Close Eclipse 2.In {workspace-directory}/.metadata/.plugins/org.eclipse.core.runtime/.settings. delete the following two files: org.eclipse.wst.server.core.prefs org.eclipse.jst.server.tomcat.core.prefs 3.Restart Eclipse

like image 34
viki raga Avatar answered Oct 15 '22 18:10

viki raga