Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Unknown version of Tomcat was specified in Eclipse

I want to add latest tomcat-7.0.42 in my eclipse. Probably eclipse tomcat server adapter 7 only supports tomcat version upto 7.0.12 ..

enter image description here

So please help me how can I configure my eclipse with tomcat-7.0.42

like image 549
Vibhor Bhardwaj Avatar asked Jul 19 '13 12:07

Vibhor Bhardwaj


People also ask

How do I update Tomcat in eclipse?

High level steps: Project Properties / Target Runtime / select the Target runtime. Project Properties / Java Build Paths / Edit Apache Tomcat entry and select the run time to add to classpath. Project Properties / Project Facets / Select Dynamic Web Module and change the version.

Where is Tomcat preference in eclipse?

To configure Tomcat as a new Runtime Environment, select the "Preferences" menu item from Eclipse's "Windows" menu (if you are using a Mac, you can find "Preferences" under the main Eclipse menu). You will be presented with large tree of preferences. Expand the "Server" preferences, and select "Runtime Environments".

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.


2 Answers

You are specifying tomcat source directory.

You need to specify tomcat binary installation root directory, also known as CATALINA_HOME.

Usually, this is where you untar apache-tomcat-7.0.42.tar.gz file.

like image 180
Alexander Pogrebnyak Avatar answered Sep 20 '22 09:09

Alexander Pogrebnyak


This happened to me because Tomcat was still in the process of downloading (Download and Install). The message disappeared after a few minutes.

The eclipse window should really have some type of progress indicator showing download status.

like image 36
Mike R Avatar answered Sep 20 '22 09:09

Mike R