赞
踩
在学习rabbitmq时,pom.xm导入以下依赖时报错:
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-amqp</artifactId>
</dependency>
截图我就不截了,总之spring-boot-starter-amqp这一行飘红
我尝试首先右键项目 – maven – reimport,无效
经过了一番摸索,我猜测可能是原生的源 或 之前的alimaven 加载不了amqp依赖, SO~:
<mirrors>
关键字,换成如下镜像源: <mirror>
<id>nexus</id>
<name>internal nexus repository</name>
<url>http://repo.maven.apache.org/maven2</url>
<mirrorOf>central</mirrorOf>
</mirror>
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。