Spring MVC + Dandelion Datatables Exception starting filter 蒲公英过滤器

Spring MVC + Dandelion Datables Exception starting filter dandelionFilter

在我的 Spring MVC 应用程序中,我使用了 Dandelion Datatables 0.10.1,由于一些性能问题,我决定按照官方迁移指南将版本升级到 1.0.1:

http://dandelion.github.io/components/datatables/1.0.0/docs/from-0.10.x-to-1.x.html

我已经包含了所有必需的 Maven 依赖项,相应地配置了 web.xml 以也使用 Servlet 3.0 版本但是当我尝试 运行 应用程序时,我在蒲公英过滤器加载期间得到以下异常.感谢任何帮助。

Jul 20, 2015 7:23:08 PM org.apache.catalina.core.StandardContext filterStart
SEVERE: Exception starting filter dandelionFilter
java.lang.NoSuchFieldError: STRICT_DUPLICATE_DETECTION
    at com.github.dandelion.core.web.handler.debug.AbstractDebugPage.<clinit>(AbstractDebugPage.java:71)
    at com.github.dandelion.core.web.handler.debug.StandardDebugMenu.getPages(StandardDebugMenu.java:45)
    at com.github.dandelion.core.Context.initDebugMenus(Context.java:574)
    at com.github.dandelion.core.Context.init(Context.java:156)
    at com.github.dandelion.core.Context.<init>(Context.java:127)
    at com.github.dandelion.core.web.DandelionFilter.init(DandelionFilter.java:96)
    at org.apache.catalina.core.ApplicationFilterConfig.initFilter(ApplicationFilterConfig.java:281)
    at org.apache.catalina.core.ApplicationFilterConfig.getFilter(ApplicationFilterConfig.java:262)
    at org.apache.catalina.core.ApplicationFilterConfig.<init>(ApplicationFilterConfig.java:107)
    at org.apache.catalina.core.StandardContext.filterStart(StandardContext.java:4775)
    at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5452)
    at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
    at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1559)
    at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1549)
    at java.util.concurrent.FutureTask.run(FutureTask.java:262)
    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
    at java.lang.Thread.run(Thread.java:745)

Jackson-Core 2.3 中添加了严格的重复检测功能。参见 http://fasterxml.github.io/jackson-core/javadoc/2.3.0/com/fasterxml/jackson/core/JsonParser.Feature.html#STRICT_DUPLICATE_DETECTION

如果可能,您应该将此依赖项更新到 v2。3.x 最低。[​​=11=]