Skip to content

Commit ff84aa9

Browse files
committed
Update example
1 parent 1b13322 commit ff84aa9

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

README.md

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -153,9 +153,12 @@ Ivy:
153153
Once the jar is on your classpath, add a `BinderConfiguration` bean to your Spring context:
154154

155155
```java
156-
@Bean
157-
public BinderConfiguration binderConfiguration() {
158-
return new BinderConfiguration();
156+
@Configuration
157+
public class ExampleConfiguration {
158+
@Bean
159+
public BinderConfiguration binderConfiguration() {
160+
return new BinderConfiguration();
161+
}
159162
}
160163
```
161164

0 commit comments

Comments
 (0)