You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@wicket.apache.org by Maxim Solodovnik <so...@gmail.com> on 2013/07/02 07:12:41 UTC

NoSuchMethodError after upgrading to 6.9.0

Hello All,

Just have upgraded to 6.9.0 and start getting:

Caused by: java.lang.NoSuchMethodError:
org.joda.time.LocalDate.toDate()Ljava/util/Date;
at
org.apache.wicket.extensions.yui.calendar.DateTimeField.onBeforeRender(DateTimeField.java:446)
~[wicket-datetime-jar-6.9.0.jar:6.9.0]

6.8.0 works as expected ...
Am I doing something wrong of maybe is there any workaround/missing library
for this?

-- 
WBR
Maxim aka solomax

Re: NoSuchMethodError after upgrading to 6.9.0

Posted by Maxim Solodovnik <so...@gmail.com>.
somehow everything was working without joda-time lib before 6.9.0
Thanks for your help Martin!


On Tue, Jul 2, 2013 at 1:55 PM, Maxim Solodovnik <so...@gmail.com>wrote:

> Thanks, will double-check!
>
>
> On Tue, Jul 2, 2013 at 1:51 PM, Martin Grigorov <mg...@apache.org>wrote:
>
>> Hi Maxim,
>>
>> Wicket depends on Joda Time 2.0.
>> I see this method in 2.0 and in 2.2 (
>>
>> http://joda-time.sourceforge.net/apidocs/src-html/org/joda/time/LocalDate.html#line.998
>> ).
>>
>> Check your dependencies. Maybe you have an older version of Joda Time in
>> your app.
>>
>>
>> On Tue, Jul 2, 2013 at 9:17 AM, Maxim Solodovnik <solomax666@gmail.com
>> >wrote:
>>
>> > same time DateTextField works as expected :(
>> >
>> > after switching org.apache.wicket:wicket-datetime to rev=6.8.0
>> everything
>> > works as expected
>> >
>> >
>> > On Tue, Jul 2, 2013 at 12:12 PM, Maxim Solodovnik <solomax666@gmail.com
>> > >wrote:
>> >
>> > > Hello All,
>> > >
>> > > Just have upgraded to 6.9.0 and start getting:
>> > >
>> > > Caused by: java.lang.NoSuchMethodError:
>> > > org.joda.time.LocalDate.toDate()Ljava/util/Date;
>> > > at
>> > >
>> >
>> org.apache.wicket.extensions.yui.calendar.DateTimeField.onBeforeRender(DateTimeField.java:446)
>> > > ~[wicket-datetime-jar-6.9.0.jar:6.9.0]
>> > >
>> > > 6.8.0 works as expected ...
>> > > Am I doing something wrong of maybe is there any workaround/missing
>> > > library for this?
>> > >
>> > > --
>> > > WBR
>> > > Maxim aka solomax
>> > >
>> >
>> >
>> >
>> > --
>> > WBR
>> > Maxim aka solomax
>> >
>>
>
>
>
> --
> WBR
> Maxim aka solomax
>



-- 
WBR
Maxim aka solomax

Re: NoSuchMethodError after upgrading to 6.9.0

Posted by Maxim Solodovnik <so...@gmail.com>.
Thanks, will double-check!


On Tue, Jul 2, 2013 at 1:51 PM, Martin Grigorov <mg...@apache.org>wrote:

> Hi Maxim,
>
> Wicket depends on Joda Time 2.0.
> I see this method in 2.0 and in 2.2 (
>
> http://joda-time.sourceforge.net/apidocs/src-html/org/joda/time/LocalDate.html#line.998
> ).
>
> Check your dependencies. Maybe you have an older version of Joda Time in
> your app.
>
>
> On Tue, Jul 2, 2013 at 9:17 AM, Maxim Solodovnik <solomax666@gmail.com
> >wrote:
>
> > same time DateTextField works as expected :(
> >
> > after switching org.apache.wicket:wicket-datetime to rev=6.8.0 everything
> > works as expected
> >
> >
> > On Tue, Jul 2, 2013 at 12:12 PM, Maxim Solodovnik <solomax666@gmail.com
> > >wrote:
> >
> > > Hello All,
> > >
> > > Just have upgraded to 6.9.0 and start getting:
> > >
> > > Caused by: java.lang.NoSuchMethodError:
> > > org.joda.time.LocalDate.toDate()Ljava/util/Date;
> > > at
> > >
> >
> org.apache.wicket.extensions.yui.calendar.DateTimeField.onBeforeRender(DateTimeField.java:446)
> > > ~[wicket-datetime-jar-6.9.0.jar:6.9.0]
> > >
> > > 6.8.0 works as expected ...
> > > Am I doing something wrong of maybe is there any workaround/missing
> > > library for this?
> > >
> > > --
> > > WBR
> > > Maxim aka solomax
> > >
> >
> >
> >
> > --
> > WBR
> > Maxim aka solomax
> >
>



-- 
WBR
Maxim aka solomax

Re: NoSuchMethodError after upgrading to 6.9.0

Posted by Martin Grigorov <mg...@apache.org>.
Hi Maxim,

Wicket depends on Joda Time 2.0.
I see this method in 2.0 and in 2.2 (
http://joda-time.sourceforge.net/apidocs/src-html/org/joda/time/LocalDate.html#line.998
).

Check your dependencies. Maybe you have an older version of Joda Time in
your app.


On Tue, Jul 2, 2013 at 9:17 AM, Maxim Solodovnik <so...@gmail.com>wrote:

> same time DateTextField works as expected :(
>
> after switching org.apache.wicket:wicket-datetime to rev=6.8.0 everything
> works as expected
>
>
> On Tue, Jul 2, 2013 at 12:12 PM, Maxim Solodovnik <solomax666@gmail.com
> >wrote:
>
> > Hello All,
> >
> > Just have upgraded to 6.9.0 and start getting:
> >
> > Caused by: java.lang.NoSuchMethodError:
> > org.joda.time.LocalDate.toDate()Ljava/util/Date;
> > at
> >
> org.apache.wicket.extensions.yui.calendar.DateTimeField.onBeforeRender(DateTimeField.java:446)
> > ~[wicket-datetime-jar-6.9.0.jar:6.9.0]
> >
> > 6.8.0 works as expected ...
> > Am I doing something wrong of maybe is there any workaround/missing
> > library for this?
> >
> > --
> > WBR
> > Maxim aka solomax
> >
>
>
>
> --
> WBR
> Maxim aka solomax
>

Re: NoSuchMethodError after upgrading to 6.9.0

Posted by Maxim Solodovnik <so...@gmail.com>.
same time DateTextField works as expected :(

after switching org.apache.wicket:wicket-datetime to rev=6.8.0 everything
works as expected


On Tue, Jul 2, 2013 at 12:12 PM, Maxim Solodovnik <so...@gmail.com>wrote:

> Hello All,
>
> Just have upgraded to 6.9.0 and start getting:
>
> Caused by: java.lang.NoSuchMethodError:
> org.joda.time.LocalDate.toDate()Ljava/util/Date;
> at
> org.apache.wicket.extensions.yui.calendar.DateTimeField.onBeforeRender(DateTimeField.java:446)
> ~[wicket-datetime-jar-6.9.0.jar:6.9.0]
>
> 6.8.0 works as expected ...
> Am I doing something wrong of maybe is there any workaround/missing
> library for this?
>
> --
> WBR
> Maxim aka solomax
>



-- 
WBR
Maxim aka solomax