Saturday, 15 September 2012

Grails 3.0 app starts on unexpected path. How to fix? -


I'm just starting to use Grails 3.0 RC1 and can detect a small problem. After the run-app command, my application path is available on localhost: 8080, but Grails 2.x was the local host by default on the right path: 8080 / appname /. In the document for Grails 3.0, I see it, the application must start on the local host: 8080 / appname / Why in my case / appname / suffix lost? I have a very simple test application and did not tune config files. How do I solve this problem? According to

, you will configure:

  server.context -  Path = # reference path, '/'  

For example, add an error to your application.yml :

  : 'Context-path': '/ lol'  

In context Qualified


No comments:

Post a Comment