Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Unknown version of Tomcat was specified 8.0.24 / Eclipse 4.4.2 (Luna)

A couple of months ago, I downloaded and unzipped the tomcat 8.0.24 which is running flawlessly. I did some tests creating servlets in notepad, compiled with javac.exe and placed in webapps. It worked.

My version of Eclipse is 4.4.2 known as Luna.

My version of JRE is 1.8.0_65 (x64)

When I want to set my Server in Eclipse, I see this warning and I don't know what to do.

Eclipse > Windows > Preferences > Server > Runtime Environments > Add enter image description here

enter image description here

enter image description here

like image 677
Maximus Decimus Avatar asked Nov 29 '22 23:11

Maximus Decimus


2 Answers

Tomcat Installation directory field is meant to be pointed at your Tomcat base directory.

So in your case just fill it with D:\ApacheTomcat\apache-tomcat-8.0.24 (without bin directory)

like image 92
Dfirmansyah Avatar answered Dec 09 '22 08:12

Dfirmansyah


In Ubuntu, point to the shared location; not the app location. Point to: /usr/share/tomcat8 and fix what they did not test:

 cd /var/lib/tomcat8
 ln -s conf /usr/share/tomcat8/conf
like image 22
maxweber Avatar answered Dec 09 '22 09:12

maxweber