dromara / lamp-cloud

lamp-cloud 支持jdk21、jdk17、jdk11、jdk8,ta基于 SpringCloud + SpringBoot 开发的微服务中后台快速开发平台,专注于多租户(SaaS架构)解决方案,亦可作为普通项目(非SaaS架构)的基础开发框架使用,目前已实现插拔式数据库隔离、SCHEMA隔离、字段隔离 等租户隔离方案。
http://tangyh.top
Apache License 2.0
5.47k stars 1.67k forks source link

无法在cloud上正确引入私服的jar包 #193

Closed shawnxiang0511 closed 2 years ago

shawnxiang0511 commented 2 years ago

版本信息:

JDK 版本(必填) : 1.8.0 源码版本(必填):4.11.0 MySQL(必填): 8.0.30 Nacos(必填):2.0.3

问题描述:

util-pro发布到私服nexus上,在其根目录上的pom.xml上写入:

freight-snapshots freight snapshots http://192.168.153.122:16530/repository/maven-snapshots/ freight-releases freight releases http://192.168.153.122:16530/repository/maven-releases/

然后在cloud的工程中的dependencies-parent上的pom.xml中,引入如下:

freight-snapshots freight snapshots http://192.168.153.122:16530/repository/maven-snapshots/ freight-releases freight releases http://192.168.153.122:16530/repository/maven-releases/

报错截图

无法在cloud上正确引入私服的jar包,提示如下: Failure to find com.zak.basic:freight-parent:pom:4.11.0 in https://maven.aliyun.com/repository/public was cached in the local repository, resolution will not be reattempted until the update interval of alimaven has elapsed or updates are forced

Try to run Maven import with -U flag (force update snapshots)

其中

重现步骤

  1. 访问了什么接口?
  2. 传递什么参数?
  3. 后端控制台报了什么错?
  4. 前端控制台报了什么错?

支持一下

如果该issue帮助了你, 麻烦给项目点个star, 并给当前issue回复一下 “👍” 或者 “已解决”.