Skip to content

Commit 63bbc83

Browse files
committed
refactor: Remove @componentscan
1 parent c2a7450 commit 63bbc83

File tree

2 files changed

+0
-3
lines changed

2 files changed

+0
-3
lines changed

spring-boot-reactive-static-resources-custom-path/README.md

-1
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,6 @@ pom.xml
4848

4949
``` java
5050
@SpringBootApplication
51-
@ComponentScan(basePackages = {"me.jittagornp"})
5251
public class AppStarter {
5352

5453
public static void main(String[] args) {

spring-boot-reactive-static-resources-custom-path/src/main/java/me/jittagornp/example/reactive/AppStarter.java

-2
Original file line numberDiff line numberDiff line change
@@ -5,13 +5,11 @@
55

66
import org.springframework.boot.SpringApplication;
77
import org.springframework.boot.autoconfigure.SpringBootApplication;
8-
import org.springframework.context.annotation.ComponentScan;
98

109
/**
1110
* @author jitta
1211
*/
1312
@SpringBootApplication
14-
@ComponentScan(basePackages = {"me.jittagornp"})
1513
public class AppStarter {
1614

1715
public static void main(String[] args) {

0 commit comments

Comments
 (0)