我需要使用Dozer 6.5.0 (因为这),所以我将MVNrepository中的以下片段添加到了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],而且bug仍然存在。Dependency 'com.github.dozermapper:dozer-core:6.5.0' not found。我认为它使用了我使用的其他maven存储库中的旧版本。它进口org.dozer.Mapper。如何使用最新版本?
发布于 2020-04-29 06:59:00
有两个问题。
pom.xml中使用旧的Dozer版本设置。现在起作用了。但是不知道为什么Dozer JAR不是由Maven自动检索的。
https://stackoverflow.com/questions/61488858
复制相似问题