I am using Ubuntu 10.10, using eclipse 3.5. I am developing a web application which needs apache tomcat6. I have downloaded and installed tomcat6.0 using synaptic manager, but eclipse 3.5 says “The Tomcat installation directory is not valid. It is missing expected file or folder lib/jasper-el.jar.” though i have browsed through till the installation dir /usr/share/tomcat6.
Please suggest me the solution to install the apache tomcat.
I had the same problem. I am using Ubuntu 10.04, and Eclipse 3.5. I was following this tutorial:
I tried to create an apache tomcat6 server using
but got your error messages. Others had proposed fixes involving changing permissions
in-eclipse-form-ubuntu
That concerned me. I avoided the permission changes and solved it by doing this stuff.
First: I had installed tomcat6 using ubuntu 10.04 software center. I removed it then installed tomcat6 from a direct download from apache’s site
I put it into /home/myname/apache-tomcat-6.0.33.
It made it through Windows -> Preferences -> Server -> Runtime Environments just fine.
Second: then doing this:
would not list anything at all in the Server window it opened up.
After a long time, by chance I right clicked in the Server window which allowed me to do
New -> server
and select the tomcat6 server
That lists it in the server window, then you can start and stop it through that window.
Third: I also added these lines to the end of /etc/bash.bashrc but I’m not sure whether that was needed. I haven’t tried to find out for sure.