[jbosstools-issues] [JBoss JIRA] Created: (JBIDE-9572) Cannot import Servlets 3.0 projects with M2E WTP integraiton

Lukáš Fryč (JIRA) jira-events at lists.jboss.org
Tue Aug 23 10:50:17 EDT 2011


Cannot import Servlets 3.0 projects with M2E WTP integraiton
------------------------------------------------------------

                 Key: JBIDE-9572
                 URL: https://issues.jboss.org/browse/JBIDE-9572
             Project: Tools (JBoss Tools)
          Issue Type: Bug
    Affects Versions: 3.3.0.M2
         Environment: JBDS 5.0.0.M2
https://github.com/richfaces/dev-examples/tree/develop/input-demo
            Reporter: Lukáš Fryč


Import of Maven projects which has web.xml version set to 3.0 does not work.
When changing version to 2.5, import works fine.

Steps to reproduce:

Does not work:
1. git-clone git at github.com:richfaces/dev-examples.git
2. Import > Existing Maven Projects
3. select dev-examples/input-demo and finish import
FAIL: WTP and Maven integration facets are not active

Works:
1. edit dev-examples/input-demo/src/main/webapp/WEB-INF/web.xml
2. change web-app version="2.5" and xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd"
3. delete project specific files (.project, .settings, .classpath)
4. Import > Existing Maven Projects
5. select dev-examples/input-demo and finish import 
SUCCESS: Web Project works great

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

       



More information about the jbosstools-issues mailing list