I am not able to open the controller on grails project
I am using the following versions of groovy and grails
C:\Users\Two95Admin>grails -version Java HotSpot(TM) Client VM warning: TieredCompilation is disabled in this releas| Grails Version: 3.1.10 | Groovy Version: 2.4.7 | JVM Version: 1.8.0_74 C:\Users\Two95Admin>
I have successfully created the helloworld project using following commands
grails create-app helloworld cd helllworld grails create-controller hello run-app
My project is executed on localhost:8080 Screenshot of an Error Screen
Error 500: Internal Server Error
URI /hello/index Class javax.servlet.ServletException Message Could not resolve view with name '/hello/index' in servlet with name 'grailsDispatcherServlet'
Trace
Line | Method
->> 1229 | render in org.springframework.web.servlet.DispatcherServlet
| 1029 | processDispatchResult in '' | 973 | doDispatch . . . . . in '' | 895 | doService in '' | 967 | processRequest . . . in org.springframework.web.servlet.FrameworkServlet | 858 | doGet in ''
Please help me solving the problem
Should be simple
. I just created an app using 3.1.10 and generated the controller as you did, then created an index.gsp file as suggested by JSB. Worked fine displaying that message at the url of "http://localhost:8080/hello/index". – railsdog Aug 22 '16 at 17:02