-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
反序列化Java8 日期问题 #869
Labels
bug
Something isn't working
Comments
表象是任务实例详情中Task查询结果记录中的taskContent一列为空 |
哎,感觉 Jackson 也不是什么好东西...问题也一大堆hhh |
不过这个错误提示也很明确了,你可以自己在 worker 工程中添加 "com.fasterxml.jackson.datatype:jackson-datatype-jsr310“ 依赖,注意版本和工程的 jackson 版本一致即可。 |
哎,类属性涉及日期还是字符串靠谱hhh |
KFCFans
added a commit
that referenced
this issue
Mar 16, 2024
KFCFans
added a commit
that referenced
this issue
Mar 16, 2024
5.0.1已修复 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
版本4.3.9
MapReduce拆分子任务对象中含有LocalDateTime类型的属性,
执行偶发错误:
ERROR tech.powerjob.common.serialize.JsonUtils - [PowerJob] toJSONString failed
com.fasterxml.jackson.databind.exc.InvalidDefinitionException: Java 8 date/time type
java.time.LocalDateTime
not supported by default: add Module "com.fasterxml.jackson.datatype:jackson-datatype-jsr310" to enable handling (through reference chain: cn.piesat.sdc.provider.api.domain.dto.relation.calculate.GlobalAreaAccessDistributedTaskDTO["taskStart"])The text was updated successfully, but these errors were encountered: