Jakarta EE命名空间一致性(优先使用jakarta.*;避免混合使用旧版javax.annotation / javax.validation)
定时任务与后台处理
范围: 基于参考规则和代码示例的优劣来应用建议。
Constraints
约束条件
Before applying any Spring Boot changes, ensure the project compiles. If compilation fails, stop immediately. After applying improvements, run full verification.
MANDATORY: Run
./mvnw compile
or
mvn compile
before applying any change
SAFETY: If compilation fails, stop immediately — compilation failure is a blocking condition
VERIFY: Run
./mvnw clean verify
or
mvn clean verify
after applying improvements
BEFORE APPLYING: Read the reference for detailed rules, good/bad patterns, and constraints