Commit cecf61a
fix: use Jakarta EE packages for Spring Boot 4 compatibility
Revert useSpringBoot3 flag back to true. Despite the name, this flag is needed for Spring Boot 4 because it generates code using Jakarta EE packages (jakarta.*) instead of the deprecated Java EE packages (javax.*).
Spring Boot 3+ migrated from javax.* to jakarta.* packages, and Spring Boot 4 continues using jakarta.* packages. Setting useSpringBoot3 to false incorrectly generates code with javax.* imports which don't exist in modern Java.
Fixes compilation errors with:
- javax.validation -> jakarta.validation
- javax.annotation -> jakarta.annotation
- javax.servlet -> jakarta.servlet
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <noreply@anthropic.com>1 parent 5ba338c commit cecf61a
2 files changed
+2
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
100 | 100 | | |
101 | 101 | | |
102 | 102 | | |
103 | | - | |
| 103 | + | |
104 | 104 | | |
105 | 105 | | |
106 | 106 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
16 | | - | |
| 16 | + | |
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
| |||
0 commit comments