Warning: file_get_contents(/data/phpspider/zhask/data//catemap/8/grails/5.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Reactjs grails javax.servlet.ServletException:无法解析名为'/指数';在名为';grailsDispatcherServlet';_Reactjs_Grails - Fatal编程技术网

Reactjs grails javax.servlet.ServletException:无法解析名为'/指数';在名为';grailsDispatcherServlet';

Reactjs grails javax.servlet.ServletException:无法解析名为'/指数';在名为';grailsDispatcherServlet';,reactjs,grails,Reactjs,Grails,我正在尝试使用以下教程运行我的应用程序: git存储库中有一个 但是我被这个错误所困扰 无法在名为“grailsDispatcherServlet”的servlet中解析名为“/index”的视图 我目前与 -groovy 2.4.11 -java 8u152 -Grails3.3.0 其中有我的控制器/demo/urlmappings package demo class UrlMappings { static mappings = { "/$controller/$act

我正在尝试使用以下教程运行我的应用程序:

git存储库中有一个

但是我被这个错误所困扰 无法在名为“grailsDispatcherServlet”的servlet中解析名为“/index”的视图

我目前与 -groovy 2.4.11 -java 8u152 -Grails3.3.0

其中有我的控制器/demo/urlmappings

package demo

class UrlMappings {

static mappings = {
    "/$controller/$action?/$id?(.$format)?"{
        constraints {
            // apply constraints here
        }
    }

    "/"(view: '/index')
    "500"(view: '/error')
    "404"(view: '/notFound')
}
}

有什么建议吗?

行吗?是@Peter localhost:8080/车辆行