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:
4444` ` `
4545
4646: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.
4848For example :
4949` ` ` java
5050@SpringBootApplication
51- @ComponentScan(basePackages = {"xxx ", "com.influxdb.spring.influx"})
51+ @ComponentScan(basePackages = {"xyz ", "com.influxdb.spring.influx"})
5252public class Application {
5353 public static void main(String[] args) {
5454 ApplicationContext applicationContext = SpringApplication.run(Application.class, args);
You can’t perform that action at this time.
0 commit comments