javax → jakarta imports
Jakarta EE namespace migration
jakartajavaxmigrationnamespace
Fix Patterns
Step-by-step solution
- Replace javax.servlet.* with jakarta.servlet.*
- Replace javax.persistence.* with jakarta.persistence.*
- Replace javax.validation.* with jakarta.validation.*
- Replace javax.annotation.* with jakarta.annotation.*
Migration Playbook
Complete guide with examples
Copilot Prompt
Copy-ready prompt for GitHub Copilot
Related Copilot Prompts
Update Gradle build for Spring Boot 3
Update build.gradle with Spring Boot 3 plugin and Jakarta EE compatible dependencies.
Update Maven dependencies for Spring Boot 3
Update pom.xml with Spring Boot 3 dependencies and Jakarta EE compatible libraries.
Verify Spring Boot 3 dependency compatibility
Check and verify all third-party dependencies are compatible with Spring Boot 3.
Create Spring Boot 3 migration test suite
Generate comprehensive test cases to verify Spring Boot 2→3 migration success.
Update JPA entity mappings for Hibernate 6
Update JPA entity mappings and annotations for Hibernate 6 compatibility.
Fix Hibernate 6 JPQL query parsing issues
Resolve Hibernate 6 stricter JPQL query parsing errors and update query syntax.