【发布时间】:2016-08-08 11:34:28
【问题描述】:
我刚刚创建了 Intellij grails 应用程序,首先我打开了控制台并执行了:grails create-app helloworld、cd helloworld,然后我在 localhost 上启动了应用程序,一切正常,但随后我用 IntelliJ 打开了项目并创建了一个控制器打印消息“hi”并构建项目。
关闭 IntelliJ 后,我回到终端并尝试运行该应用程序,但它给了我这个错误:
Error 500: Internal Server Error
-
URI
/testc/索引
-
类
javax.servlet.ServletException
-
留言
无法解析名称为“grailsDispatcherServlet”的 servlet 中名称为“/testc/index”的视图
【问题讨论】:
标签: grails