Skip to content

Commit d86e248

Browse files
authored
docs: Update README.md
1 parent f09c49e commit d86e248

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

spring/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff 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.
4848
For example:
4949
```java
5050
@SpringBootApplication
51-
@ComponentScan(basePackages = {"xxx", "com.influxdb.spring.influx"})
51+
@ComponentScan(basePackages = {"xyz", "com.influxdb.spring.influx"})
5252
public class Application {
5353
public static void main(String[] args) {
5454
ApplicationContext applicationContext = SpringApplication.run(Application.class, args);

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy