Grails 2.4升级重复过滤器名称AssetPipelineFilter

时间:2014-11-30 20:21:15

标签: grails grails-2.4

我正在将应用程序从Grails 2.3.3升级到2.4.4,并且我已经完成了所需的更改。 grails compile命令运行干净但我在运行应用程序期间遇到了一些错误。

[ERROR] org.apache.tomcat.util.digester.Digester [End event threw exception]
....
Caused by: java.lang.IllegalArgumentException: Duplicate filter name [AssetPipelineFilter]
at org.apache.catalina.deploy.WebXml.addFilter(WebXml.java:243)

然后

[ERROR] org.apache.catalina.startup.ContextConfig [Parse error in application web.xml file at file:/Users/greg/.grails/2.4.4/projects/MyApp/resources/web.xml]
org.xml.sax.SAXParseException; systemId: file:/Users/greg/.grails/2.4.4/projects/MyApp/resources/web.xml; lineNumber: 64; columnNumber: 14; Error at (64, 14) : Duplicate filter name [AssetPipelineFilter]
....
Caused by: java.lang.IllegalArgumentException: Duplicate filter name [AssetPipelineFilter]

0 个答案:

没有答案