maven 程序包不存在 https://repo.maven.apache.org/maven2 was cac hed in the local repository
第一次记录问题:maven install 一直打包失败,用idea里面的install和命令 mvn install错还不一样mvn install 错误信息我明明配置的私服,但是这儿走的maven公共库idea install 错误信息说我的core包里面的类找不到,但是core包明明打包成功了私服拉包问题解决方案再pom.xml文件添加:<repositories><rep
·
第一次记录问题:maven install 一直打包失败,用idea里面的install和命令 mvn install错还不一样
mvn install 错误信息

我明明配置的私服,但是这儿走的maven公共库
idea install 错误信息

说我的core包里面的类找不到,但是core包明明打包成功了
私服拉包问题解决方案
再pom.xml文件添加:
<repositories>
<repository>
<id>central</id>
<url>http://host:port/content/groups/public</url>
</repository>
</repositories>
<pluginRepositories>
<pluginRepository>
<id>central</id>
<url>http://host:port/content/groups/public</url>
</pluginRepository>
</pluginRepositories>
参考:https://blog.csdn.net/daijiguo/article/details/82887362
找不到包解决方案

<configuration>
<classifier>execute</classifier>
</configuration>
参考:https://blog.csdn.net/sinat_38570489/article/details/89504048
魔乐社区(Modelers.cn) 是一个中立、公益的人工智能社区,提供人工智能工具、模型、数据的托管、展示与应用协同服务,为人工智能开发及爱好者搭建开放的学习交流平台。社区通过理事会方式运作,由全产业链共同建设、共同运营、共同享有,推动国产AI生态繁荣发展。
更多推荐



所有评论(0)