pom.xml
@@ -197,7 +197,10 @@ <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-aop</artifactId> </dependency> <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-amqp</artifactId> </dependency> </dependencies> <build> @@ -216,7 +219,7 @@ </plugin> </plugins> <!--配置后才可以扫描到xml文件--> <!--配置后才可以扫描到xml文件--> <resources> <resource> <directory>src/main/resources</directory>