[ https://issues.apache.org/jira/browse/MEAR-95?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17958983#comment-17958983 ]
Matthias Bünger commented on MEAR-95: ------------------------------------- This project has moved from Jira to GitHub Issues. This issue was migrated to [apache/maven-ear-plugin#153|https://github.com/apache/maven-ear-plugin/issues/153]. > Cannot set context-root to be the root context > ---------------------------------------------- > > Key: MEAR-95 > URL: https://issues.apache.org/jira/browse/MEAR-95 > Project: Maven EAR Plugin (Moved to GitHub Issues) > Issue Type: Bug > Affects Versions: 2.0 > Reporter: Kurt Huwig > Assignee: Stephane Nicoll > Priority: Major > > If I set > <webModule> > <groupId>com.scooterattack.webshop</groupId> > <artifactId>webshop-war</artifactId> > <contextRoot></contextRoot> > </webModule> > or > <webModule> > <groupId>com.scooterattack.webshop</groupId> > <artifactId>webshop-war</artifactId> > <contextRoot> </contextRoot> > </webModule> > the context-root in application.xml is set to "webshop-war". If I set it to > <webModule> > <groupId>com.scooterattack.webshop</groupId> > <artifactId>webshop-war</artifactId> > <contextRoot>/</contextRoot> > </webModule> > it is set to "/" and my application is the root application, but the URL upon > netbeans-deploy is > http://localhost:8080// > i.e. double "/" at the end. > How can I properly configure a web-module in a EAR as the root application? -- This message was sent by Atlassian Jira (v8.20.10#820010)