]
Mickael Istria updated JBIDE-21850:
-----------------------------------
Fix Version/s: 4.4.0.Final
Maven project has wrong context root set up after import
--------------------------------------------------------
Key: JBIDE-21850
URL:
https://issues.jboss.org/browse/JBIDE-21850
Project: Tools (JBoss Tools)
Issue Type: Bug
Components: easymport, maven
Affects Versions: 4.3.1.CR1
Reporter: Radim Hopp
Fix For: 4.4.0.Final
Importing maven project (in my case "servlet-security" from EAP quickstarts)
via easymport has wrong context root (right click on project->Properties->Web
Project Settings) configured.
Name of project is servlet-security, but web context root is jboss-servlet-security
This results into 404 when this project gets deployed to server. IDE opens url
http://localhost:8080/jboss-servlet-security, but correct url is
http://localhost:8080/servlet-security.
Note, that this does not happen when importing this project as existing maven project
(not using easymport).