Spring Boot Square SDK最新版本更新问题
由于目前,我正在将Square Java SDK的版本更改为最新版本,即20.1.0.20220616
我正在使用的当前版本是2.20190313.0
因此,在pom.xml中依赖性解决后,它给出以下错误消息 无法解析com.squareup:连接:20.1.0.20220616
有人可以帮助我更新我的Square SDK,哪个是最新且稳定的?
另请注意,我的POM的代码以下
<repository>
<id>jcenter</id>
<url>https://jcenter.bintray.com</url>
</repository>
</repositories>
As currently i am changing version for square java sdk to latest which is 20.1.0.20220616
and current version i am using is 2.20190313.0
so, after dependency resolve in pom.xml it is giving below error message
Cannot resolve com.squareup:connect:20.1.0.20220616
can someone please help me to update my square sdk which is latest and stable ?
also note my pom has below code
<repository>
<id>jcenter</id>
<url>https://jcenter.bintray.com</url>
</repository>
</repositories>
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
一点点谷歌搜索告诉我,有一个名为“ Connect”的旧库,一个名为“ Square”的替代品。
https://developer..squareup.com/develiper.com/develice.com/develice.com/develice.com/docs/sdks/sdks/sdks/java/java/quick-quick-quick--quick--quick--quick--quick--quick--quick--quick--quick--quick--java/quick----启动
因此,请使用artifactid'square',它确实在 maven central 。
免责声明:我完全希望您的代码在更改之后将不再编译。他们很少决定制作一个新图书馆并使其向后兼容。
A little bit of Googling tells me there is an old obsolete library named 'connect' and a replacement which is named 'square'.
https://developer.squareup.com/docs/sdks/java/quick-start
So use the artifactId 'square', which is indeed in maven central.
Disclaimer: I fully expect that your code will no longer compile after that change. They rarely ever decide to make a new library and keep it backwards compatible.