Grails internall error with new controller -
i created intellij grails app,first opened console , did : grails create-app helloworld
, cd helloworld
, started app on localhost
, ok opened project intellij , created controller print message "hi" , build project.
after closed intellij went terminal , tried run app gave me error:
error 500: internal server error
uri
/testc/index
class
javax.servlet.servletexception
message
could not resolve view name '/testc/index' in servlet name 'grailsdispatcherservlet'
fairly impossible answer without example code, generating controller not magically make output appear. clue in "could not resolve view name..." i'd suggest read through grails docs. no sense repeating information here.
Comments
Post a Comment