[jbosstools-issues] [JBoss JIRA] (JBIDE-21850) Maven project has wrong context root set up after import

Fred Bricon (JIRA) issues at jboss.org
Thu Jun 2 12:00:03 EDT 2016


    [ https://issues.jboss.org/browse/JBIDE-21850?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13247152#comment-13247152 ] 

Fred Bricon commented on JBIDE-21850:
-------------------------------------

Looks like it's working now, at least with the helloworld project (which doesn't require setup on EAP). Smart import creates the helloworld project, context root is jboss-helloworld, deployment is jboss-helloworld.war, web page opens as expected

> 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
>    Affects Versions: 4.3.1.CR1
>            Reporter: Radim Hopp
>
> 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).



--
This message was sent by Atlassian JIRA
(v6.4.11#64026)


More information about the jbosstools-issues mailing list