I created a new Grails 4.0.3 web app and added the Jib Gradle plugin to it. I can create the docker image using gradle jibBuildTar
, load it into docker, and run it. Unfortunately, GSPs don't seem to get included in the image, so I run into the following error:
javax.servlet.ServletException: Could not resolve view with name '/index' in servlet with name 'grailsDispatcherServlet'
If I have UrlMappings go to a controller that renders text, the text renders just fine, so the app seems to be working except for the views.
In the build folder, I don't see gsp-classes
, and when running jib, I don't see anything about the asset pipeline in the terminal.
What can I do to get jib to integrate with the asset pipline/grails views?