Re: NoSuchMethodError after upgrading to 6.9.0

2013-07-02 Thread Maxim Solodovnik
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 solomax...@gmail.comwrote:

 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

2013-07-02 Thread Martin Grigorov
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 solomax...@gmail.comwrote:

 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 solomax...@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

2013-07-02 Thread Maxim Solodovnik
Thanks, will double-check!


On Tue, Jul 2, 2013 at 1:51 PM, Martin Grigorov mgrigo...@apache.orgwrote:

 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 solomax...@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 solomax...@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

2013-07-02 Thread Maxim Solodovnik
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 solomax...@gmail.comwrote:

 Thanks, will double-check!


 On Tue, Jul 2, 2013 at 1:51 PM, Martin Grigorov mgrigo...@apache.orgwrote:

 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 solomax...@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 solomax...@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


NoSuchMethodError after upgrading to 6.9.0

2013-07-01 Thread Maxim Solodovnik
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