Uploaded image for project: 'Tools (JBoss Tools)'
  1. Tools (JBoss Tools)
  2. JBIDE-9572

Cannot import Servlets 3.0 projects with M2E WTP integraiton

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Won't Do
    • Icon: Major Major
    • None
    • 3.3.0.M2
    • maven
    • None
    • Workaround Exists
    • Hide

      Import as 2.5 and then switch to 3.0

      Show
      Import as 2.5 and then switch to 3.0

      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@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

            fbricon@redhat.com Fred Bricon
            lfryc Lukáš Fryč (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: