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=appapp.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 timesapp.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
Post a Comment