调整启动的扫描路径,去除重复注册。

This commit is contained in:
tanghc
2020-11-02 20:53:03 +08:00
parent 8c8b1c7442
commit c49b6eecaa
12 changed files with 9 additions and 92 deletions

View File

@@ -40,16 +40,6 @@
<artifactId>spring-boot-starter-actuator</artifactId>
</dependency>
<!--
修复Spring Cloud Hoxton.SR1 gateway 与reactor-netty 0.9.3.RELEASE不兼容问题
https://blog.csdn.net/sun800711/article/details/104061049
-->
<dependency>
<groupId>io.projectreactor.netty</groupId>
<artifactId>reactor-netty</artifactId>
<version>0.9.4.RELEASE</version>
</dependency>
<dependency>
<groupId>net.oschina.durcframework</groupId>
<artifactId>fastmybatis-spring-boot-starter</artifactId>

View File

@@ -3,7 +3,7 @@ package com.gitee.sop.gateway;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
@SpringBootApplication
@SpringBootApplication(scanBasePackages = "com.gitee.sop")
public class SopGatewayApplication {
public static void main(String[] args) {