Could not find artifact mysql:mysql-connector-java:pom:unknown in nexus-aliyun (http://maven.aliyun.com/nexus/content/groups/public)
时间: 2023-12-14 17:05:43 浏览: 239
回答: 根据提供的引用内容,错误信息显示无法找到artifact mysql:mysql-connector-java:pom:unknown。根据引用\[1\]和引用\[2\]的错误信息,可能是由于在aliyun仓库中找不到该artifact导致的。解决这个问题的思路是检查仓库配置和依赖版本。根据引用\[3\]中的dependency配置,可以尝试将dependency的版本改为5.1.43,并确保仓库配置正确,包括仓库地址和权限。这样可能可以解决找不到artifact的问题。
#### 引用[.reference_title]
- *1* *2* [maven加载依赖时遇到的问题](https://blog.csdn.net/qq_49172635/article/details/127765017)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v91^control_2,239^v3^insert_chatgpt"}} ] [.reference_item]
- *3* [Could not find artifact mysql:mysql-connector-java:pom:unknown in central (https://repo.maven.apache](https://blog.csdn.net/weixin_68563064/article/details/130336017)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v91^control_2,239^v3^insert_chatgpt"}} ] [.reference_item]
[ .reference_list ]
阅读全文