2

I'm trying to run my web application on tomcat v6, I was testing it on v7 and it worked perfectly but for this assignment it has to run on v6. When I right click on the web application and run as -> run on server and select tomcat v6.0 server at localhost I can't seem to click the finish button. Does anyone know why?

enter image description here

2
  • Can you post a screenshot of that step? Commented Mar 30, 2012 at 14:43
  • @adarshr uploaded a screenshot Commented Mar 30, 2012 at 14:45

1 Answer 1

3

It clearly says "The server does not support version 3.0 of the J2EE Web Module specification".

Just change your web.xml to have the 2.5 version.

<web-app xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://java.sun.com/xml/ns/javaee" xmlns:web="http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd" xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd" id="WebApp_ID" version="2.5"> 

Be sure to change the Project Facet too, by right clicking on the project and doing as shown here:

enter image description here

Sign up to request clarification or add additional context in comments.

1 Comment

You need to change the Project Facet then.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.