阅读背景:

RabbitMQ和SpringBoot整合

来源:互联网 

新建springboot项目勾选web。

1.添加依附

         <dependency>
			<groupId>org.springframework.boot</groupId>
			<artifactId>spring-boot-starter-web</artifactId>
		</dependency>

		<dependency>
			<groupId>org.springframework.boot</groupId>
			<artifactId>spring-boot-starter</artifactId>
		</dependency>

      <!--springboot集成了单元测试 -->
		<dependency>                                         
			<groupId>org.springframework.boot</groupId>
			<artifactId>spring-boot-starter-test</artifactId>
			<scope>test</scope>
		</dependency>

		<dependency>
			<groupId>org.springframework.boot</groupId>
			<artifactId>spring-boot-starter-amqp</artifactId>
		</dependency>         <dependenc



你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: