@DateTimeFormat 所在包是 org.springframework.format.annotation.DateTimeFormat,这个注解没有 message 参数
我看到有用 @DateFormat 可以带 message 参数的,请问这个应该引用哪个 jar?

Spring 做 JSR-303验证,日期类型用 @DateFormat 还是 @DateTimeFormat?
- 写回答
- 好问题 0 提建议
- 关注问题
- 邀请回答
-
@DateTimeFormat 所在包是 org.springframework.format.annotation.DateTimeFormat,这个注解没有 message 参数
我看到有用 @DateFormat 可以带 message 参数的,请问这个应该引用哪个 jar?