我必须像下面这样在pom.xml中包含版本信息吗?我只想添加envers --已经包含了hibernate-core,没有版本。
<dependency>
<groupId>org.hibernate</groupId>
<artifactId>hibernate-core</artifactId>
</dependency>
<dependency>
<groupId>org.hibernate</groupId>
<artifactId>hibernate-envers</artifactId>
<version>5.2.9.Final</version> <!--this one-->
</dependency>排除版本信息时,我的.m2目录中没有有效的jar文件。
刚刚创建了未知文件夹和其中的未知文件。
我已经有了5.2.9版本的hibernate-core,但我只是想知道我必须在我的hibernate-envers依赖中写下版本号。
https://stackoverflow.com/questions/44538564
复制相似问题