1
resposta

Validando data

Quando passo uma data sem ser no formato dd/MM/yyyy aparece a seguinte mensagem: Failed to convert property value of type java.lang.String to required type java.util.Date for property data; nested exception is org.springframework.core.convert.ConversionFailedException: Failed to convert from type java.lang.String to type @org.springframework.format.annotation.DateTimeFormat java.util.Date for value 11/11; nested exception is java.lang.IllegalArgumentException: Unable to parse 11/11.

Matricule-se agora e aproveite até 50% OFF

O maior desconto do ano para você evoluir com a maior escola de tecnologia

QUERO APROVEITAR
1 resposta

Oi, Robson.

Você já fez essa pergunta. Eu respondi no outro post que você fez:

https://cursos.alura.com.br/forum/topico-data-invalida-29306