Hibernate 添加Jadira依赖项后出现Quarkus错误
我正在使用Quarkus和Hibernate。但是,在为Joda Time添加Jadira依赖项后,我出现以下错误:错误[io.qua.run.boo.StartupActionImpl](Quarkus主线程)错误运行Quarkus:java.lang.reflect.InvocationTargetException。我正试图解决这个问题,但还没有找到解决办法。谢谢Quarkus中的application.properties中可能存在配置 Java中的依赖项和代码是:Hibernate 添加Jadira依赖项后出现Quarkus错误,hibernate,jodatime,quarkus,Hibernate,Jodatime,Quarkus,我正在使用Quarkus和Hibernate。但是,在为Joda Time添加Jadira依赖项后,我出现以下错误:错误[io.qua.run.boo.StartupActionImpl](Quarkus主线程)错误运行Quarkus:java.lang.reflect.InvocationTargetException。我正试图解决这个问题,但还没有找到解决办法。谢谢Quarkus中的application.properties中可能存在配置 Java中的依赖项和代码是: pom.xml &l
pom.xml
<dependency>
<groupId>org.jadira.usertype</groupId>
<artifactId>usertype.core</artifactId>
<version>4.0.0.GA</version>
</dependency>
Java code
@Entity
public NameOftheClass extends extends PanacheEntityBase {
@Column
@Type(type="org.jadira.usertype.dateandtime.joda.PersistentDateTime")
private DateTime date;
.....
}
pom.xml
org.jadira.usertype
usertype.core
4.0.0.GA
Java代码
@实体
类的公共名称扩展了PanachEntityBase{
@纵队
@Type(Type=“org.jadira.usertype.dateandtime.joda.PersistentDateTime”)
私人日期时间日期;
.....
}