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

Popular posts from this blog

Spring Boot + JPA + Hibernate: Unable to locate persister -

go - Golang: panic: runtime error: invalid memory address or nil pointer dereference using bufio.Scanner -

c - double free or corruption (fasttop) -