Hi all, has anyone been able to get the grails-con...
# questions
n
Hi all, has anyone been able to get the grails-console to work with Grails 6, specifically 6.2.0? If so, what did you do? It does not work out of the box with grails create-app appName, ./gradlew bootRun nor our existing app with a Grails 6 upgrade. localhost:8080/console and localhost:8080/appName/console returns a 404.
g
If you mean web console, then it works for me with 6.1.2
m
I just tested with 6.2.0 and it works like a charm. 🤔 If you share an example application we can probably see what's going on.
n
https://github.com/nsgraff/grails-template this is a basic grails 6.2.0 app out the box. please and thank you!
m
Ok, you need to add
runtimeOnly 'org.grails.plugins:grails-console:2.1.1'
to the project dependencies. That is the web-console. The
console 'org.grails:grails-console'
is the one you run in your terminal.
I can agree that the naming of the artifacts is not very helpful 😄
n
that did it with our app too! thank you Mattias.
🚀 2