我正在尝试使用本教程运行我的应用程序:http : //guides.grails.org/building-a-react-app/guide/index.html
有 git 存储库 https://github.com/tetar998/building-a-react-app/tree/master/complete
但我遇到了这个错误无法解析名称为 'grailsDispatcherServlet' 的 servlet 中名称为 '/index' 的视图
我目前正在使用 - groovy 2.4.11 - java 8u152 - grails 3.3.0
package demo
class UrlMappings {
static mappings = {
"/$controller/$action?/$id?(.$format)?"{
constraints {
// apply constraints here
}
}
"/"(view: '/index')
"500"(view: '/error')
"404"(view: '/notFound')
}
}
Run Code Online (Sandbox Code Playgroud)
有什么建议吗?
归档时间: |
|
查看次数: |
872 次 |
最近记录: |