Grails 2.5.0 endpoints located sans application context -


i upgrading existing grails 2.2.4 app 2.5.0.

for reason, endpoints urls included app context in 2.2.4 no longer include app context in 2.5.0.

e.g., app context = app, old endpoint in 2.2.4 was:

/app/a/b/c

but in 2.5.0 now:

/a/b/c

i have tried many things fix this, including:

  • in application.properties:
    • app.name=app
    • app.context=/app
  • in config.groovy, testing on localhost:8080:
    • grails.app.context = "/${appname}"
    • grails.serverurl = http://localhost:8080 , grails.serverurl = http://localhost:8080/${appname}, @ different times
    • app.grails.serverurl = http://localhost:8080 , app.grails.serverurl = http://localhost:8080/${appname}, @ different times

i've verified "${appname}" == 'app'.

i have upgraded of plugins newest version, i'm continuing use resources plugin instead of asset-pipeline plugin.

i not using scaffolding.

any suggestions?

urlmappings.groovy contained mappings (parserequest:true), no longer supported grails. removing fixed it.


Comments

Popular posts from this blog

java - Spring Data JPA: Why findOne(id) executing delete query internally? -

python - Mongodb How to add addtional information when aggregating? -

java - Incorrect order of records in M-M relationship in hibernate -