Commit 2b3820e
committed
Fix ApplicationContext loading: remove @validated from ValidationConfig
- Remove @validated annotation from @configuration class
- @validated on @configuration classes can cause context loading issues
- Validation is already enabled by spring-boot-starter-validation dependency1 parent 590550e commit 2b3820e
File tree
1 file changed
+2
-2
lines changed- backend/src/main/java/com/example/demo/config
1 file changed
+2
-2
lines changedLines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
4 | | - | |
5 | 4 | | |
6 | 5 | | |
7 | | - | |
8 | 6 | | |
| 7 | + | |
| 8 | + | |
9 | 9 | | |
10 | 10 | | |
0 commit comments