Announcement Announcement Module
Collapse
No announcement yet.
jodatime not available Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • jodatime not available

    Help! Here is my code:
    Code:
    public class Company {
             @DateTimeFormat(pattern="M/d/yy h:mm a")
             private Date cutOffTime;
    I already included joda libraries in my lib folder (WEB-INF/lib) and here is my error:
    Code:
    2011-04-08 10:34:04,250 ERROR [org.springframework.web.servlet.tags.form.InputTag] - <Unable to convert value 2001-11-12 00:00:00.0 from type 'java.util.Date' to type 'java.lang.String';
     nested exception is java.lang.IllegalStateException: JodaTime library not available - @DateTimeFormat not supported>
    
    org.springframework.core.convert.ConversionFailedException: Unable to convert value 2001-11-12 00:00:00.0 from type 'java.util.Date' to type 'java.lang.String';
     nested exception is java.lang.IllegalStateException: JodaTime library not available - @DateTimeFormat not supported
    I also included <mvc:annotation-driven />
    Last edited by appy; Apr 7th, 2011, 10:45 PM. Reason: update
Working...
X