maven clean或package报错
Posted snuglove
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了maven clean或package报错相关的知识,希望对你有一定的参考价值。
[ERROR] Failed to execute goal on project jeesns-service: Could not resolve dependencies for project com.lxinet:jeesns-service:jar:1.4.2: Could not find artifact com.lxinet:jeesns-core:jar:1.4.2 in nexus-aliyun (http://maven.aliyun.com/nexus/content/groups/public) -> [Help 1]
[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/DependencyResolutionException
[ERROR]
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR] mvn <goals> -rf :jeesns-service
1. 在编译jeesns项目时报错
整理之后发现jeesns包不完整,缺少文件,重新下载该包后解决该问题
以上是关于maven clean或package报错的主要内容,如果未能解决你的问题,请参考以下文章
idea 使用 mvn clean package 报错 Could not create local repository at
jenkins执行mvn -f ${project_name} clean package报错:找不到父工程