[
https://issues.jboss.org/browse/JBIDE-9572?page=com.atlassian.jira.plugin...
]
Fred Bricon resolved JBIDE-9572.
--------------------------------
Resolution: Won't Fix
If you look at the Markers view, you'll notice 2 error markers :
* One or more constraints have not been satisfied.
* Dynamic Web Module 3.0 requires Java 1.6 or newer.
As a matter of fact, Eclipse WTP is very strict with regards to the JavaEE spec, which
states that Servlet 3.0 requires Java 1.6. So you need to update the maven-compiler-plugin
configuration accordingly then update the project configuration.
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č
Assignee: Fred Bricon
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
--
This message is automatically generated by JIRA.
For more information on JIRA, see:
http://www.atlassian.com/software/jira