Hibernate + Java 9 + javax.transaction.SystemException

Hibernate + Java 9 + javax.transaction.SystemException,第1张

Hibernate + Java 9 + javax.transaction.SystemException

更新2019/08/05

库已更新,可以提供更好的支持。请使用与以下相同的模块信息定义

opens xx.xx.xx.entities to org.hibernate.orm.core;requires java.transaction;requires java.xml.bind;requires java.sql;requires java.activation;requires java.persistence;

Maven已大大简化

<plugin>  <artifactId>maven-compiler-plugin</artifactId>  <configuration>      <annotationProcessorPaths>          <annotationProcessorPath>   <groupId>org.hibernate</groupId>   <artifactId>hibernate-jpamodelgen</artifactId>   <version>${maven.hibernate.version}</version>          </annotationProcessorPath>          <annotationProcessorPath>   <groupId>org.projectlombok</groupId>   <artifactId>lombok</artifactId>   <version>${lombok.version}</version>          </annotationProcessorPath>          <path>   <groupId>javax.xml.bind</groupId>   <artifactId>jaxb-api</artifactId>   <version>2.3.0</version>          </path>          <path>   <groupId>javax.annotation</groupId>   <artifactId>javax.annotation-api</artifactId>   <version>1.3.1</version>          </path>          <path>   <groupId>org.mapstruct</groupId>   <artifactId>mapstruct-processor</artifactId>   <version>${mapstruct.version}</version>          </path>      </annotationProcessorPaths>  </configuration>         </plugin>


欢迎分享,转载请注明来源:内存溢出

原文地址: http://outofmemory.cn/zaji/5442528.html

(0)
打赏 微信扫一扫 微信扫一扫 支付宝扫一扫 支付宝扫一扫
上一篇 2022-12-11
下一篇 2022-12-11

发表评论

登录后才能评论

评论列表(0条)

保存