gpt4 book ai didi

java - 在maven项目中添加cxf jar文件?

转载 作者:行者123 更新时间:2023-12-01 11:45:56 24 4
gpt4 key购买 nike

我需要添加cxf-corecxf-frontend分机。项目中的文件。我试图在 pom.xml 中使用 maven 依赖项添加这些,但它不起作用,并且添加时版本号变为红色。

   <dependency>
<groupId>org.apache.cxf</groupId>
<artifactId>cxf-rt-core</artifactId>
<version>2.6.2</version>
</dependency>

org.apache.cxf:cxf-rt-core:2.6.2 未找到。

我还尝试使用外部 .jar 库进行添加。 IDE 是 Intellij IDEA

最佳答案

2.6.2 为我工作,我使用 Eclipse 创建一个新的 Maven 项目并粘贴到您的依赖项中。它工作了,获取了所需的 jar 并给了我这个依赖层次结构。

dependency hierarchy

关于java - 在maven项目中添加cxf jar文件?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/29124632/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com