【发布时间】:2020-04-28 19:54:45
【问题描述】:
我需要使用Dozer 6.5.0(因为this)所以我将MVNrepository中的以下sn-p添加到我的pom.xml中。
<!-- https://mvnrepository.com/artifact/com.github.dozermapper/dozer-core -->
<dependency>
<groupId>com.github.dozermapper</groupId>
<artifactId>dozer-core</artifactId>
<version>6.5.0</version>
</dependency>
项目构建,但存在多个问题。
- 改为使用旧版本的推土机。我知道,因为我的日志引用了
~[dozer-5.5.1.jar:na]并且错误仍然存在。 - IntelliJ 抱怨
Dependency 'com.github.dozermapper:dozer-core:6.5.0' not found。
我认为它使用了我使用的其他 maven 存储库中的旧版本。它导入org.dozer.Mapper。如何使用最新版本?
【问题讨论】:
标签: java maven pom.xml hibernate-mapping dozer