Failed to execute goal on project mohrss-module-admin: Could not resolve dependencies for project com.jiayingframework.boot:mohrss-module-admin:jar:1.0.0: The following artifacts could not be resolved: com.jiayingframework.boot:mohrss-module-api:jar:1.0.0, com.jiayingframework.boot:mohrss-quartz:jar:1.0.0, com.jiayingframework.boot:mohrss-online:jar:1.0.0: Failure to find com.jiayingframework.boot:mohrss-module-api:jar:1.0.0 in http://maven.aliyun.com/nexus/content/groups/public/ was cached in the local repository, resolution will not be reattempted until the update interval of nexus-aliyun has elapsed or updates are forced -> [Help 1]
时间: 2024-04-08 18:36:17 浏览: 27
这个错误提示是由于 Maven 无法解析项目的依赖关系导致的。具体来说,Maven 找不到以下三个依赖项:
- com.jiayingframework.boot:mohrss-module-api:jar:1.0.0
- com.jiayingframework.boot:mohrss-quartz:jar:1.0.0
- com.jiayingframework.boot:mohrss-online:jar:1.0.0
这可能是因为这些依赖项没有正确地发布到您正在使用的 Maven 仓库中。根据错误消息,您正在使用的是阿里云的 Maven 仓库。
解决这个问题的一种方法是确保这些依赖项已经正确地发布到阿里云的 Maven 仓库中。您可以尝试在 Maven 的配置文件(settings.xml)中添加阿里云的仓库镜像,并运行 Maven 的更新命令来更新本地仓库。示例如下:
```xml
<mirrors>
<mirror>
<id>aliyun</id>
<name>Aliyun Mirror</name>
<url>http://maven.aliyun.com/nexus/content/groups/public/</url>
<mirrorOf>central</mirrorOf>
</mirror>
</mirrors>
```
请注意,您还可以检查这些依赖项在仓库中是否存在,以确保它们被正确发布。另外,您还可以尝试使用其他 Maven 仓库来解决依赖项解析问题。
希望这些信息对您有所帮助!如果您有任何其他问题,请随时提问。
相关推荐
![pdf](https://img-home.csdnimg.cn/images/20210720083512.png)
![zip](https://img-home.csdnimg.cn/images/20210720083736.png)
![pdf](https://img-home.csdnimg.cn/images/20210720083512.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)