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
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)
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
In Fedora, Just select this directory
/usr/share/tomcat
This required path is where you untarred the file when downloaded. Generally, the path in Ubuntu systems is:
/usr/share/tomcat7
I tried different locations, assign all permissions, but none of them works. so I moved tomcat folder to desktop and it works for me... mine is tomcat 8.5 and oxygen eclipse.
Use Tomcat version 7
The problem is the variable JAVA_HOME, everything works for TOMCAT version 7 but not for version 8 and 9 which always returns me "Unknown version of Tomcat was specified"
Check the permissions on the tomcat installation folder. Ensure that eclipse has access to it
在安装时选择与 tomcat 相同的 jdk
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.