title: Deploying jhipster app to a different context path
body: <p>I am trying to deploy a jhipster app using 'mvn' command. I believe this will run the default spring-boot:run. I think this deploys to tomcat. Once the server start's the application is availabe at <a href="http://localhost:8080" rel="nofollow">http://localhost:8080</a>. This works fine. But, i want to set a context path to the application, i don't want to deploy it to the root. </p>
  
  <p>For example: <a href="http://localhost:8080/test" rel="nofollow">http://localhost:8080/test</a> should take me to the application index page.</p>
  
  <p>I tired the following, but it did not work.</p>
  
  <p>mvn -Pprod package</p>
  
  <p>java -jar target/jhipster-0.0.1-SNAPSHOT.war -Dserver.contextPath=/test</p>
  
  <p>Any help is appreciated. Thanks</p>