adr-wisniewski / inz-sd

Automatically exported from code.google.com/p/inz-sd
0 stars 0 forks source link

Konwersja z String na Date #7

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Przykladowy wyjatek:

Field error in object 'problemSearchCriteria' on field 'startCreationDate': 
rejected value [2010-01-01]; codes 
[typeMismatch.problemSearchCriteria.startCreationDate,typeMismatch.startCre
ationDate,typeMismatch.java.util.Date,typeMismatch]; arguments 
[org.springframework.context.support.DefaultMessageSourceResolvable: codes 
[problemSearchCriteria.startCreationDate,startCreationDate]; arguments []; 
default message [startCreationDate]]; default message [Failed to convert 
property value of type 'java.lang.String' to required type 'java.util.Date' 
for property 'startCreationDate'; nested exception is 
org.springframework.core.convert.ConversionFailedException: Unable to 
convert value 2010-01-01 from type 'java.lang.String' to type 
'java.util.Date'; nested exception is 
org.springframework.core.convert.ConversionFailedException: Unable to 
convert value 2010-01-01 from type 'java.lang.String' to type 
'java.util.Date'; nested exception is 
java.lang.reflect.InvocationTargetException]

Original issue reported on code.google.com by Piotr.Ka...@gmail.com on 27 Mar 2010 at 8:46

GoogleCodeExporter commented 9 years ago

Original comment by Piotr.Ka...@gmail.com on 10 Jul 2010 at 3:20