New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Failing to found gsp page after upgrade to grails 6 #13202
Comments
Please share a sample application |
i had to explicitly say in gradle package tasks (war/bootJar) to compile gsp pages:
You could open your built package and see, if you have there gsp files or compiled classes from them. |
Ideally, it should be automatically configured from the |
@puneetbehl you wouldn't believe but adding explicit dependency helped. Kudos to @aulea
Should I re-open this problem in PS @aulea before the fix I checked war file and saw compiled gsp classes too. |
Let keep this ticket open for now. I will take it from here. Thanks! |
Does your pluginManagement {
repositories {
mavenLocal()
maven { url "https://repo.grails.org/grails/core/" }
gradlePluginPortal()
}
plugins {
id "org.grails.grails-web" version "6.1.0"
id "org.grails.grails-gsp" version "6.1.0"
id "com.bertramlabs.asset-pipeline" version "4.3.0"
id "com.github.erdi.webdriver-binaries" version "3.0"
}
} |
@codeconsole sure. I use kts version
|
Related outstanding issue in 6.1.0: |
Expected Behavior
Exactly the same as #11421. It works locally via gradle bootRun but failed to run via tomcat.
Controllers return json works as expected
I migrated according to https://docs.grails.org/latest/guide/upgrading.html
Also checked that gsp pages are in war archive
Put trace level logging and nothing interesting around page opening
Actual Behaviour
No response
Steps To Reproduce
No response
Environment Information
Example Application
No response
Version
6.1.0
The text was updated successfully, but these errors were encountered: