在我的 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 版本,但是当我尝试运行应用程序时,我在 dandelionFilter 加载期间收到以下异常。任何帮助表示赞赏。
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)