我正在使用grails 2.2.1。执行项目后,我收到了以下错误。
Error Error executing script RunApp: org/codehaus/groovy/grails/web/mapping/filter/UrlMappingsFilter
UrlMappings.groovy
class UrlMappings {
static mappings = {
"/$controller/$action?/$id?"{
constraints {
// apply constraints here
}
}
"/"(view:"/login/auth")
"500"(controller:'errors',action:'handleExceptions')
"404"(controller:'errors',action:'pageNotFoundException')
}
}