开发者社区> 问答> 正文

使用maven构建example工程,出现依赖问题 snapshot构建失败

[ERROR] Failed to execute goal on project canal.example: Could not resolve dependencies for project com.alibaba.otter:canal.example:jar:1.1.7-SNAPSHOT: com.alibaba.otter:canal.client:jar:1.1.7-SNAPSHOT was not found in https://oss.sonatype.org/content/repositories/snapshots during a previous attempt. This failure was cached in the local repository and resolution is not reattempted until the update interval of sonatype has elapsed or updates are forced -> [Help 1]

原提问者GitHub用户n15902179169

展开
收起
白夜行fighting 2023-04-25 20:59:46 298 0
1 条回答
写回答
取消 提交回答
  • mvn clean install exec:java -Dexec.mainClass="com.alibaba.otter.canal.example.SimpleCanalClientTest"

    原回答者GitHub用户agapple

    2023-04-26 17:47:20
    赞同 展开评论 打赏
问答排行榜
最热
最新

相关电子书

更多
低代码开发师(初级)实战教程 立即下载
冬季实战营第三期:MySQL数据库进阶实战 立即下载
阿里巴巴DevOps 最佳实践手册 立即下载