I have a web application written with Spring.
It is developed within Eclipse (3.5.2) using m2eclipse (0.10.0).
When the local server is set to Tomcat6.0 everything works ok.
However I have just found I need to deploy to Tomcat5.5 - so I thought I should test locally with Tomcat5.5
Research this I have:
- downloaded Tomcat5.5
- change the following in the POM.
<groupId>javax.servlet</groupId>
<artifactId>servlet-api</artifactId>
<version>2.4</version>
<!-- Changed from 2.5 Tomcat 6.0 for Tomcat 5.5 -->
<groupId>javax.servlet</groupId>
<artifactId>jstl</artifactId>
<version>1.1.2</version>
<!-- Changed from 1.2 Tomcat 6.0 for Tomcat 5.5 -->
- change the following in the web.xml
<web-app xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns="http://java.sun.com/xml/ns/j2ee"
xmlns:web="http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd"
xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd"
id="WebApp_ID" version="2.4">
However on 'run on server' I get the following text:
The server does not support version 2.5 of the J2EE Web module specification.
I have tried:
http://dev.eclipse.org/newslists/news.eclipse.webtools/msg15643.html
However:
1) I do not have
.settings/org.eclipse.jst.common.project.facet.core
2) In .classpath there is no Apache Tomcat path
3) On changing .settings/org.eclipse.wst.common.project.facet.core.xml the setting seems to get changed back by m2eclipse on 'update project configuration'
Any help appreciated.