When running a Grails 3.0.1 application in development mode all works ok. But when I package the grails application using `grails package` or `grails war` then the resulting `jar` and `war` file produce errors when running using.
`java Dgrails.env=prod -jar <application>.jar`
Some views cannot be resolved and the resulting error is:
```ERROR org.apache.catalina.core.ContainerBase.[Tomcat].[localhost].[/].[grailsDispatcherServlet]
- Servlet.service() for servlet [grailsDispatcherServlet] in context with path [] threw exception [ not resolve view with name ....```
Any solution to this problem?