File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -44,11 +44,11 @@ influx:
44
44
` ` `
45
45
46
46
:warning: If you are using a version of Spring Boot prior to 2.7, auto-configuration will not take effect.
47
- You need to add the @ComponentScan annotation to your Spring Boot startup class and include com.influxdb.spring.influx in the basePackages.
47
+ You need to add the ` @ComponentScan` annotation to your Spring Boot startup class and include com.influxdb.spring.influx in the basePackages.
48
48
For example :
49
49
` ` ` java
50
50
@SpringBootApplication
51
- @ComponentScan(basePackages = {"xxx ", "com.influxdb.spring.influx"})
51
+ @ComponentScan(basePackages = {"xyz ", "com.influxdb.spring.influx"})
52
52
public class Application {
53
53
public static void main(String[] args) {
54
54
ApplicationContext applicationContext = SpringApplication.run(Application.class, args);
You can’t perform that action at this time.
0 commit comments