gpt4 book ai didi

java - LogicalDoc 构建错误?

转载 作者:行者123 更新时间:2023-12-02 13:19:21 25 4
gpt4 key购买 nike

我尝试使用 JDK 1.7、maven 3.0.3 和 Ant 1.7 构建 LogicalDoc 6.7.1但它不起作用并出现这些错误,请帮忙?

 <p></p>

<pre><code>D:\maqtary\logicaldoc-6.7.1-src\build\poms>mvn -version
Apache Maven 3.0.3 (r1075438; 2011-02-28 09:31:09-0800)
Maven home: C:\Users\PC\Downloads\apache-maven-3.0.3
Java version: 1.7.0_80, vendor: Oracle Corporation
Java home: C:\Program Files\Java\jdk1.7.0_80\jre
Default locale: en_US, platform encoding: Cp1256
OS name: "windows 7", version: "6.1", arch: "x86", family: "windows"


D:\maqtary\logicaldoc-6.7.1-src\build\poms>mvn install
[INFO] Scanning for projects...
[ERROR] The build could not read 1 project -> [Help 1]
[ERROR]
[ERROR] The project com.logicaldoc:logicaldoc-parent-pom:62
(D:\maqtary\logicaldoc-6.7.1-src\build\poms\pom.xml) has 1 error
[ERROR] Unresolveable build extension: Error resolving version for plugin
'org.apache.maven.wagon:wagon-ssh' from the repositories [local
(C:\Users\PC\.m2\repository), central (http://repo1.maven.
org/maven2)]: Plugin not found in any plugin repository -> [Help 2]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e
switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please
read the following articles:
[ERROR] [Help 1]
http://cwiki.apache.org/confluence/display/MAVEN/ProjectBuildingException
[ERROR] [Help 2]
</code></pre>

<p><a href="http://cwiki.apache.org/confluence/display/MAVEN/PluginVersionResolutionException" rel="noreferrer noopener nofollow">http://cwiki.apache.org/confluence/display/MAVEN/PluginVersionResolutionException</a>
D:\maqtary\logicaldoc-6.7.1-src\build\poms></p>

</code></pre>

最佳答案

正如错误消息所述,您的 Maven 构建失败,因为 D:\maqtary\ologicaldoc-6.7.1-src\build\poms\pom.xml 中的某些内容告诉它使用maven 插件 org.apache.maven.wagon:wagon-ssh ,该插件在 maven 中央存储库或本地存储库中不存在,因此构建失败。

看起来可以找到该插件 here

关于java - LogicalDoc 构建错误?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/43629872/

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