我已将Wicket从1.4.9迁移到7.9.0。这些maven清洁和安装成功之后,并且在tomcat部署时抛出以下错误。请有人帮助我。是wiquery 1.0.2 jar支持检票口7.9.0。
SEVERE: Exception starting filter wicket.dpt
java.lang.NoSuchMethodError: org.apache.wicket.Application.setMetaData(Lorg/apache/wicket/MetaDataKey;Ljava/lang/Object;)V
at org.odlabs.wiquery.core.commons.WiQueryInstantiationListener.<init>(WiQueryInstantiationListener.java:69)
at org.odlabs.wiquery.core.commons.WiQueryInitializer.init(WiQueryInitializer.java:53)
at org.apache.wicket.Application.initInitializers(Application.java:734)
at org.apache.wicket.Application.initializeComponents(Application.java:642)
at org.apache.wicket.Application.initApplication(Application.java:952)
at org.apache.wicket.protocol.http.WicketFilter.init(WicketFilter.java:429)
at org.apache.wicket.protocol.http.WicketFilter.init(WicketFilter.java:353)
at org.apache.catalina.core.ApplicationFilterConfig.initFilter(ApplicationFilterConfig.java:285)
at org.apache.catalina.core.ApplicationFilterConfig.getFilter(ApplicationFilterConfig.java:266)
at org.apache.catalina.core.ApplicationFilterConfig.<init>(ApplicationFilterConfig.java:108)
at org.apache.catalina.core.StandardContext.filterStart(StandardContext.java:4747)
at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5389)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:145)
at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1410)
at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1400)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
答案 0 :(得分:1)
您还需要升级Wiquery:
org.wicketstuff:wiquery 7.x