gpt4 book ai didi

java - Maven:mvn 安装后没有构建成功或[扫描项目]消息

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

运行键入 mvn install 或 mvn clean install 后,我没有收到任何项目扫描或构建成功或构建失败消息。

<小时/>
LM-SFA-11002477:com.stubhub.mapreduce.hbasehexatodecimal navparmar$ mvn clean install
log4j:WARN No appenders could be found for logger (org.apache.maven.cli.logging.impl.UnsupportedSlf4jBindingConfiguration).
log4j:WARN Please initialize the log4j system properly.
Downloading: https://mvnrepository.stubcorp.dev/nexus/content/groups/stubhub-public/org/apache/maven/plugins/maven-clean-plugin/2.5/maven-clean-plugin-2.5.pom
<小时/>
LM-SFA-11002477:target navparmar$ java -version
java version "1.8.0_121"
Java(TM) SE Runtime Environment (build 1.8.0_121-b13)
Java HotSpot(TM) 64-Bit Server VM (build 25.121-b13, mixed mode)
<小时/>
 mvn -version
Apache Maven 3.5.0 (ff8f5e7444045639af65f6095c62210b5713f426; 2017-04-03T12:39:06-07:00)
Maven home: /usr/local/Cellar/maven/3.5.0/libexec
Java version: 1.8.0_121, vendor: Oracle Corporation
Java home: /Library/Java/JavaVirtualMachines/jdk1.8.0_121.jdk/Contents/Home/jre
Default locale: en_US, platform encoding: UTF-8
OS name: "mac os x", version: "10.11.6", arch: "x86_64", family: "mac"

最佳答案

您的项目中可能包含了多个 slf4j jar 版本。请在 pom.xml 中找到依赖关系层次选项卡,并从 pom.xml 中排除不必要的 jar 版本。如果仍然遇到问题,请尝试在 Debug模式下构建项目。这样您将获得详细的错误描述。

mvn clean compile install -X

关于java - Maven:mvn 安装后没有构建成功或[扫描项目]消息,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/43452568/

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