Grails application started with clean,compile and run-app not able to resolve the views from plugin
Steps to Reproduce
Take the sample repository(app and plugin) from grails_runapp_issue
From the App level
grails clean
grails compile
grails run-app
once the application starts go to the browser and type
http://localhost:8080/businessapp/core
Expected Behaviour
It should display businessView from business core plugin
Actual Behaviour
It gives error
Error 500: Internal Server Error
URI
/businessapp/core
Class
javax.servlet.ServletException
Message
Could not resolve view with name '/businessCore/businessView' in servlet with name 'grailsDispatcherServlet'
Environment Information
Grails=3.3.2
JDK-8
Windows
Note Same application works fine if I use gradle commands
gradlew clean
gradlew bootRun
Grails application started with clean,compile and run-app not able to resolve the views from plugin
Steps to Reproduce
Take the sample repository(app and plugin) from grails_runapp_issue From the App level grails clean grails compile grails run-app once the application starts go to the browser and type http://localhost:8080/businessapp/core
Expected Behaviour
It should display businessView from business core plugin
Actual Behaviour
It gives error Error 500: Internal Server Error URI /businessapp/core Class javax.servlet.ServletException Message Could not resolve view with name '/businessCore/businessView' in servlet with name 'grailsDispatcherServlet'
Environment Information
Grails=3.3.2 JDK-8 Windows
Note Same application works fine if I use gradle commands gradlew clean gradlew bootRun
problem with grails compile and run-app
Example Application
https://github.com/ravikovour/grails-3-issues/tree/master/grails_runapp_issue