删除console多余的@EnableScheduling (#12386)
* 删除console多余的@EnableScheduling * 删除console多余的@EnableScheduling
This commit is contained in:
parent
927fbfd110
commit
48a0f8b0fb
@ -25,7 +25,6 @@ import org.springframework.boot.web.servlet.ServletComponentScan;
|
|||||||
import org.springframework.context.annotation.ComponentScan;
|
import org.springframework.context.annotation.ComponentScan;
|
||||||
import org.springframework.context.annotation.ComponentScan.Filter;
|
import org.springframework.context.annotation.ComponentScan.Filter;
|
||||||
import org.springframework.context.annotation.FilterType;
|
import org.springframework.context.annotation.FilterType;
|
||||||
import org.springframework.scheduling.annotation.EnableScheduling;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Nacos starter.
|
* Nacos starter.
|
||||||
@ -41,7 +40,6 @@ import org.springframework.scheduling.annotation.EnableScheduling;
|
|||||||
@Filter(type = FilterType.CUSTOM, classes = {TypeExcludeFilter.class}),
|
@Filter(type = FilterType.CUSTOM, classes = {TypeExcludeFilter.class}),
|
||||||
@Filter(type = FilterType.CUSTOM, classes = {AutoConfigurationExcludeFilter.class})})
|
@Filter(type = FilterType.CUSTOM, classes = {AutoConfigurationExcludeFilter.class})})
|
||||||
@ServletComponentScan
|
@ServletComponentScan
|
||||||
@EnableScheduling
|
|
||||||
public class Nacos {
|
public class Nacos {
|
||||||
|
|
||||||
public static void main(String[] args) {
|
public static void main(String[] args) {
|
||||||
|
Loading…
Reference in New Issue
Block a user