构建错误 - Java.Time.OffsetDateTime找不到Jandex索引
我有一个多模块的Maven项目,该项目使用Quarkus和Kogito,并具有MongoDB的持久性。带有Kogito流程定义的模块使用来自另一个模块的Bean。其中一个豆具有Java.Time.OffsetDateTime类型的属性
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
问题可能与豆的位置有关,当您有包含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
自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.