我正在使用 grails 2.2.1.Whwn 执行项目时出现以下错误。
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')
}
}