idea 打包报错 Could not find artifact com.ruoyi:ruoyi-framework:pom:4.6.1 in public (http://maven.aliyun

闾丘冠玉
2023-12-01

在IDEA 的 setting→Build,Execution,Deployment→Build Tools→Maven→Runner下

找到VM Options: 添加以下代码

-Dmaven.wagon.http.ssl.insecure=true -Dmaven.wagon.http.ssl.allowall=true

打包报错 :

Failed to execute goal on project ...: Could not resolve dependencies for project ...

总结、在父项目下有的子项目在首次运行clean 和install前应该先运行父项目的clean和install.

(已解决)Failed to execute goal on project ...: Could not resolve dependencies for project ..._小激动百度九点半的博客-CSDN博客

idea maven打包出现 Could not find artifact XXXXX 时该怎么办!_Rain-pen的博客-CSDN博客

 类似资料: