Une petit souci de config sous Eclipse 3.5.
Apres avoir installé WTP 3.1.1 et tomcat6, (ou 5.5) Eclipse refuse mon serveur Tomcat6 :
Serveur --> Runtime env --> Ajouter
C'est le répertoire d'installation qui n'est pas reconnu.
"The Tomcat installation directory is not valid. It is missing expected file or folder lib/jasper-el.jar."
ou parfois avec une autre version de tomcat ( 5.5)
"It is missing expected file or folder ... servlet-api.jar "
J'ai bien tenté ca avec un jar vide:
Why won't the New Server Runtime dialog recognize my Linux installed version of Tomcat?
This problem has been known to occur in WTP 1.5.x and earlier with Tomcat packages that install a version of Tomcat 5.0.x. When identifying Tomcat 5.0.x, a servlet-api.jar is expected to be present in the common/lib directory. The installation instead has a link named [servletapi].jar to provide the equivalent jar. To meet the verification requirement, you can create an empty jar file named servlet-api.jar in this directory. WTP 2.0.x and later was updated to also accept the presence of [servletapi].jar to satisfy the requirement.
mais ca n'a rien donné.
Du coup j'ai tenté ca (pris sur forum linux)
sudo ln -s /var/lib/tomcat6/conf conf
sudo ln -s /etc/tomcat6/policy.d/03catalina.policy conf/catalina.policy
sudo ln -s /var/log/tomcat6 log
sudo chmod -R 777 /usr/share/tomcat6/conf
Toujours rien.
Une idéee ?
Apres avoir installé WTP 3.1.1 et tomcat6, (ou 5.5) Eclipse refuse mon serveur Tomcat6 :
Serveur --> Runtime env --> Ajouter
C'est le répertoire d'installation qui n'est pas reconnu.
"The Tomcat installation directory is not valid. It is missing expected file or folder lib/jasper-el.jar."
ou parfois avec une autre version de tomcat ( 5.5)
"It is missing expected file or folder ... servlet-api.jar "
J'ai bien tenté ca avec un jar vide:
Why won't the New Server Runtime dialog recognize my Linux installed version of Tomcat?
This problem has been known to occur in WTP 1.5.x and earlier with Tomcat packages that install a version of Tomcat 5.0.x. When identifying Tomcat 5.0.x, a servlet-api.jar is expected to be present in the common/lib directory. The installation instead has a link named [servletapi].jar to provide the equivalent jar. To meet the verification requirement, you can create an empty jar file named servlet-api.jar in this directory. WTP 2.0.x and later was updated to also accept the presence of [servletapi].jar to satisfy the requirement.
mais ca n'a rien donné.
Du coup j'ai tenté ca (pris sur forum linux)
sudo ln -s /var/lib/tomcat6/conf conf
sudo ln -s /etc/tomcat6/policy.d/03catalina.policy conf/catalina.policy
sudo ln -s /var/log/tomcat6 log
sudo chmod -R 777 /usr/share/tomcat6/conf
Toujours rien.
Une idéee ?