构建错误 - Java.Time.OffsetDateTime找不到Jandex索引

发布于 2025-01-23 07:24:56 字数 124 浏览 0 评论 0 原文

我有一个多模块的Maven项目,该项目使用Quarkus和Kogito,并具有MongoDB的持久性。带有Kogito流程定义的模块使用来自另一个模块的Bean。其中一个豆具有Java.Time.OffsetDateTime类型的属性

I have a multi-module Maven project that uses Quarkus and Kogito, with MongoDb persistence. The module with the Kogito process definition is using beans from another module. One of the beans has a property of type java.time.OffsetDateTime

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

生寂 2025-01-30 07:24:56

问题可能与豆的位置有关,当您有包含CDI豆,实体,对象序列化为JSON的其他模块时,您需要明确将它们索引。在这里,您可以找到不同的方法: https://stackoverflow.com/a/555513723

The issue can be related with the location of the beans, when you have additional modules containing CDI beans, entities, objects serialized as JSON, you need to explicitly index them. Here you can find different ways to do that: https://stackoverflow.com/a/55513723

七月上 2025-01-30 07:24:56

自1.18版以来,Kogito中有一些与基于时间的字段有关的改进,请参见。如果您使用的是较旧版本,建议升级。

There is been some improvements related to time-based fields in Kogito since version 1.18, see https://issues.redhat.com/browse/KOGITO-6756. Would recommend upgrading if you're using an older version.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文