grails javax.servlet.ServletException:无法解析名称为“grailsDispatcherServlet”的servlet中名称为“/index”的视图

tet*_*tar 5 grails reactjs

我正在尝试使用本教程运行我的应用程序: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

有一张我的视图文件夹的图片 里面有我的控制器/演示/urlmappings

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)

有什么建议吗?