微服务学习

发布于:2024-08-02 ⋅ 阅读:(42) ⋅ 点赞:(0)

 

找不到依赖项 'com.aliyun:aliyun-java-vod-upload:1.4.11'

下载地址

找到后 报个错我是真服了

PS D:\apache-maven-3.6.3\bin> mvn install:install-file -DgroupId=com.aliyun -DartifactId=aliyun-java-vod-upload -Dversion=1.4.11 -Dpackaging=jar -Dfile=D:\apache-maven-3.6.3\bin\aliyun-java-vod-upload-1.4.11.jar
[INFO] Scanning for projects...
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time:  0.071 s
[INFO] Finished at: 2024-08-02T12:09:26+08:00
[INFO] ------------------------------------------------------------------------
[ERROR] The goal you specified requires a project to execute but there is no POM in this directory (D:\apache-maven-3.6.3\bin). Please verify you invoked Maven from the correct directory. -> [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/MissingProjectException

 

 

原因

原因是因为操作系统的差异导致,把所有参数加上引号即可