执行脚本RunApp时出错错误:org / codehaus / groovy / grails / web / mapping / filter / UrlMappingsFilter

时间:2013-07-29 08:28:50

标签: grails url-mapping

我正在使用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')        
    }    
}

0 个答案:

没有答案