Don't use wicket-spring-annot, just wicket-spring.

On Tuesday, September 27, 2011 3:15 AM, "boy_oh_boy"
<muralih...@gmail.com> wrote:
> Hello,
> 
> Very new to Wicket. Trying to integrate an existing Spring application
> with
> the latest Wicket release.
> 
> Versions:
> 
> Wicket - 1.5.0
> SpringFramework - 2.5.6
> 
> I am following the annotations based approach mentioned here -
> https://cwiki.apache.org/WICKET/spring.html. 
> 
> Now, which version of wicket-spring-annot do I use? In the maven repo,
> the
> latest version is 1.3.7. So, do I need to use 1.3.7 version of
> "wicket-spring" jar too? When I use 1.3.7 for both wicket-spring and
> wicket-spring-annot, I get this error when I start up jetty server:
> 
> :2432011-09-27 11:12:58.635::WARN:  failed BCWicketFilter
> java.lang.NoSuchMethodError:
> org.apache.wicket.MetaDataKey.<init>(Ljava/lang/Class;)V
>       at
> org.apache.wicket.spring.injection.annot.SpringComponentInjector$1.<init>(SpringComponentInjector.java:58)
>       at
> org.apache.wicket.spring.injection.annot.SpringComponentInjector.<clinit>(SpringComponentInjector.java:55)
>       at
> com.inceptor.bcWicket.app.BCWicketApplication.init(BCWicketApplication.java:19)
>       at org.apache.wicket.Application.initApplication(Application.java:805)
>       at 
> org.apache.wicket.protocol.http.WicketFilter.init(WicketFilter.java:346)
>       at 
> org.apache.wicket.protocol.http.WicketFilter.init(WicketFilter.java:286)
>       at org.mortbay.jetty.servlet.FilterHolder.doStart(FilterHolder.java:99)
>       at 
> org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:40)
>       at
> org.mortbay.jetty.servlet.ServletHandler.initialize(ServletHandler.java:570)
>       at org.mortbay.jetty.servlet.Context.startContext(Context.java:139)
>       at
> org.mortbay.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1191)
>       at
> org.mortbay.jetty.handler.ContextHandler.doStart(ContextHandler.java:481)
>       at 
> org.mortbay.jetty.webapp.WebAppContext.doStart(WebAppContext.java:434)
>       at 
> org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:40)
>       at
> org.mortbay.jetty.plugin.Jetty6PluginWebApplication.start(Jetty6PluginWebApplication.java:147)
>       at
> org.mortbay.jetty.plugin.AbstractJettyRunMojo$1.changesDetected(AbstractJettyRunMojo.java:372)
>       at org.mortbay.jetty.plugin.util.Scanner.run(Scanner.java:159)
> 
> 
> 
> --
> View this message in context:
> http://apache-wicket.1842946.n4.nabble.com/wicket-spring-version-tp3846702p3846702.html
> Sent from the Users forum mailing list archive at Nabble.com.
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
> For additional commands, e-mail: users-h...@wicket.apache.org
> 
> 

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org

Reply via email to