Tomcat IntelliJ与Grails/Gradle之间的关系

Tomcat IntelliJ与Grails/Gradle之间的关系,tomcat,grails,intellij-idea,Tomcat,Grails,Intellij Idea,我正在使用Grails3.0.5(它使用Gradle2.6)。我的环境是Intellij14。我的JVM是Java 1.8 oracle(在Java_HOME中),我正在尝试将其部署到tomcat 8.0.26上 假设项目是由grailsstartpapp创建的新项目。当我在tomcat8中部署它并运行第一个请求时,会出现如下异常: javax.servlet.ServletException: Could not resolve view with name '/error' in servl

我正在使用Grails3.0.5(它使用Gradle2.6)。我的环境是Intellij14。我的JVM是Java 1.8 oracle(在Java_HOME中),我正在尝试将其部署到tomcat 8.0.26上

假设项目是由
grailsstartpapp
创建的新项目。当我在tomcat8中部署它并运行第一个请求时,会出现如下异常:

javax.servlet.ServletException: Could not resolve view with name '/error' in servlet with name 'grailsDispatcherServlet'
class UrlMappings {
    static mappings = {
        "/$controller/$action?/$id?(.$format)?"{
            constraints {
                // apply constraints here
            }
        }

        "/"(view:"/index")
        "500"(view:'/error')
        "404"(view:'/notFound')
    }
}
但之前也有一个例外:同样的,无法找到/索引

UrlMappings文件如下所示:

javax.servlet.ServletException: Could not resolve view with name '/error' in servlet with name 'grailsDispatcherServlet'
class UrlMappings {
    static mappings = {
        "/$controller/$action?/$id?(.$format)?"{
            constraints {
                // apply constraints here
            }
        }

        "/"(view:"/index")
        "500"(view:'/error')
        "404"(view:'/notFound')
    }
}
并且存在这样的视图文件(甚至尝试将.gsp扩展名显式添加到这些UrlMappings条目):

我的部署是针对本地tomcat8实例的,可以是war部署,也可以是爆炸式部署

但是当我试图打开一个URL(并且视图文件存在于WEB-INF/classes中)时,我遇到了提到的异常


我遗漏了什么?

你看过了吗?正如我读到的那样?这是否意味着我不能在tomcat8上使用它,因为tomcats不支持spring boot?