Is there any config I need to use java.time.LocalDateTime instead of
java.util.Date/Timestamp
I get this error:
Error setting expression 'bean.created' with value
['2022-03-27T09:29:49.187116', ]
Invalid field value for field "bean.created".
bean:
public LocalDateTime getCreated() {
return created;
}
public void setCreated(LocalDateTime created) {
this.created = created;
}
<s:hidden name="bean.created" />
2022-03-27 09:29:52,645 ERROR
com.opensymphony.xwork2.interceptor.ParametersInterceptor
ParametersInterceptor:notifyDeveloperParameterException - Developer
Notification (set struts.devMode to false to disable this message):
Unexpected Exception caught setting 'bean.created' on 'class my.myAdd:
Error setting expression 'bean.created' with value
['2022-03-27T09:29:49.187116', ]
2022-03-27 09:34:12,272 WARN org.apache.struts2.components.Date Date:end
- Developer Notification (set struts.devMode to false to disable this
message):
Expression [bean.created] passed to <s:date/> tag which was evaluated to
[2022-03-27T09:34:06.844655](class java.lang.String) isn't supported!
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@struts.apache.org
For additional commands, e-mail: dev-h...@struts.apache.org