Grails 2.4 upgrade duplicate filter name AssetPipelineFilter

222 views Asked by At

I'm upgrading an application from Grails 2.3.3 to 2.4.4 and I've worked through the required changes. The grails compile command runs clean but I'm stuck on a couple of errors during run-app.

[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)

And then

[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

There are 0 answers