alibaba / spring-cloud-alibaba

Spring Cloud Alibaba provides a one-stop solution for application development for the distributed solutions of Alibaba middleware.
https://sca.aliyun.com
Apache License 2.0
27.59k stars 8.24k forks source link

The dependency groupId of spring-ai-core in spring-cloud-starter-alibaba-ai module is not found. #3753

Open DIDA-lJ opened 1 month ago

DIDA-lJ commented 1 month ago

我们鼓励使用英文,如果不能直接使用,可以使用翻译软件,您仍旧可以保留中文原文。另外请按照如下要求提交相关信息节省社区维护同学的理解成本,否则该讨论极有可能直接被忽视或关闭。 We recommend using English. If you are non-native English speaker, you can use the translation software. We recommend using English. If you are non-native English speaker, you can use the translation software. In addition, please submit relevant information according to the following requirements to save the understanding cost of community maintenances, otherwise the discussion is very likely to be ignored or closed directly.

Which Component Spring Cloud Starter Alibaba AI,2023.0.1.0

Describe the bug The dependency groupId of spring-ai-core in spring-cloud-starter-alibaba-ai module is not found.

Simplest demo Local Demo: image The search results of the Alibaba Cloud Maven warehouse are as follows: image

To Reproduce Steps to reproduce the behavior:

  1. Create a new Maven project and import dependence.

    <dependencyManagement>
        <dependencies>
            <dependency>
                <groupId>com.alibaba.cloud</groupId>
                <artifactId>spring-cloud-alibaba-dependencies</artifactId>
                <version>2023.0.1.0</version>
                <type>pom</type>
                <scope>import</scope>
            </dependency>
        </dependencies>
    </dependencyManagement>
    
    <dependencies>
        <dependency>
            <groupId>com.alibaba.cloud</groupId>
            <artifactId>spring-cloud-starter-alibaba-ai</artifactId>
        </dependency>
    </dependencies>
  2. Refresh the Maven file.
  3. See error
    Could not find artifact org.springframework.ai:spring-ai-core:pom:0.8.1 in aliyunmaven (https://maven.aliyun.com/repository/public)

    Expected behavior Relying on normal introduction.

Screenshots Local Demo: image

Additional context Could not find artifact org.springframework.ai:spring-ai-core:pom:0.8.1 in spring‘s website. image

Maven repository description: image

yuluo-yx commented 1 month ago

你可以参考 https://github.com/alibaba/spring-cloud-alibaba/issues/3712 配置 pom.xml

另外 pr 对项目的意义并不是很大,现在 maven 中央仓库的包是抢注的,官方并没有发布正式的包,更多信息你可以看这个 issue https://github.com/alibaba/spring-cloud-alibaba/issues/3712 升级版本对相应的 API 也要做更新,spring ai core 对一些接口作了比较大的改动。不是只修改版本号就可以升级成功的

LordVoldemt commented 1 month ago

https://blog.csdn.net/qq_35080796/article/details/111355515 参考上边文章,手动下载 具体网址: https://[repo.spring.io](https://repo.spring.io/ui/repos/tree/General/snapshot/org/springframework/ai)/ui/repos/tree/General/snapshot/org/springframework/aihttps://[repo.spring.io](https://repo.spring.io/ui/repos/tree/General/snapshot/org/springframework/ai)/ui/repos/tree/General/snapshot/org/springframework/ai

github-actions[bot] commented 3 days ago

This issue has been open 30 days with no activity. This will be closed in 7 days.

DIDA-lJ commented 3 days ago

好的,谢谢

github-actions[bot] @.***> 于2024年7月6日周六 02:52写道:

This issue has been open 30 days with no activity. This will be closed in 7 days.

— Reply to this email directly, view it on GitHub https://github.com/alibaba/spring-cloud-alibaba/issues/3753#issuecomment-2211288182, or unsubscribe https://github.com/notifications/unsubscribe-auth/AXF73DD7K3RQZQHCYUEAOGLZK3TPZAVCNFSM6AAAAABIW5EKU6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDEMJRGI4DQMJYGI . You are receiving this because you authored the thread.Message ID: @.***>