[jbosstools-issues] [JBoss JIRA] Resolved: (JBIDE-9572) Cannot import Servlets 3.0 projects with M2E WTP integraiton
Fred Bricon (JIRA)
jira-events at lists.jboss.org
Wed Aug 24 00:36:17 EDT 2011
[ https://issues.jboss.org/browse/JBIDE-9572?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
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 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