Check whether there is only one version of Wicket in your classpath, maybe
some dependency (like Wicket-Bootstrap) brings something else than 7.11.0
in the classpath.

On Mon, Dec 3, 2018 at 3:06 PM Francesco Chicchiriccò <ilgro...@apache.org>
wrote:

> On 2018/12/03 12:57:00, Maxim Solodovnik <solomax...@gmail.com> wrote:
> > The method is here
> >
> https://github.com/apache/wicket/blob/wicket-7.x/wicket-request/src/main/java/org/apache/wicket/request/Url.java#L1123
> > In all branches ...
>
> ..so my JDK must be lying? :-)
>
> > On Mon, 3 Dec 2018 at 19:50, Francesco Chicchiriccò <ilgro...@apache.org
> >
> > wrote:
> >
> > > Hi all,
> > > after upgrading from 7.10.0 to 7.11.0, I receive the following
> exception
> > > when executing tests via Wicket Tester:
> > >
> > > java.lang.NoSuchMethodError:
> > > org.apache.wicket.request.Url.setContextRelative(Z)V
> > >         at
> > >
> org.apache.wicket.protocol.http.servlet.ServletWebRequest.setParameters(ServletWebRequest.java:173)
> > >         at
> > >
> org.apache.wicket.protocol.http.servlet.ServletWebRequest.getContextRelativeUrl(ServletWebRequest.java:209)
> > >         at
> > >
> org.apache.wicket.protocol.http.servlet.ServletWebRequest.<init>(ServletWebRequest.java:112)
> > >         at
> > >
> org.apache.wicket.protocol.http.servlet.ServletWebRequest.<init>(ServletWebRequest.java:82)
> > >         at
> > >
> org.apache.wicket.protocol.http.WebApplication.newWebRequest(WebApplication.java:560)
> > >         at
> > >
> org.apache.wicket.util.tester.BaseWicketTester.newServletWebRequest(BaseWicketTester.java:534)
> > >         at
> > >
> org.apache.wicket.util.tester.BaseWicketTester.setupNextRequestCycle(BaseWicketTester.java:474)
> > >         at
> > >
> org.apache.wicket.util.tester.BaseWicketTester.<init>(BaseWicketTester.java:372)
> > >         at
> > >
> org.apache.wicket.util.tester.BaseWicketTester.<init>(BaseWicketTester.java:267)
> > >         at
> > >
> org.apache.wicket.util.tester.BaseWicketTester.<init>(BaseWicketTester.java:240)
> > >         at
> > >
> org.apache.wicket.util.tester.WicketTester.<init>(WicketTester.java:203)
> > >
> > > Any clue?
> > >
> > > TIA
> > > Regards.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
> For additional commands, e-mail: users-h...@wicket.apache.org
>
>

Reply via email to