jakarta-namespace

Migrate Java EE javax imports to jakarta namespace for Spring Boot 3.x projects.

4|Updated Feb 22, 2026
One-click install
npx skills add https://github.com/GeneralReasoning/env-skillsbench --skill jakarta-namespace
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: jakarta-namespace
Source: https://github.com/GeneralReasoning/env-skillsbench/tree/main/spring-boot-jakarta-migration/environment/skills/jakarta-namespace
Command: npx skills add https://github.com/GeneralReasoning/env-skillsbench --skill jakarta-namespace

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Migrate Java EE javax imports to jakarta.* to enable running Spring Boot 3.x applications. This migration covers updating javax.persistence, javax.validation, javax.servlet, and related packages, and includes guidance on batch replacements and verification steps.

Core Features & Use Cases

  • Package mapping guidance from javax.* to jakarta.* for key domains (persistence, validation, servlet, annotations, transactions).
  • Batch migration steps and verification routines, including sample commands and OpenRewrite guidance.
  • Real-world usage: upgrading legacy services to Spring Boot 3 with Jakarta EE.

Quick Start

Run a Jakarta namespace migration on your project to replace all javax.* imports with jakarta.* and verify with the provided checks.

Frequently Asked Questions about jakarta-namespace

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I migrate Java EE javax imports to jakarta for Spring Boot 3?

To migrate javax imports to jakarta for Spring Boot 3, replace javax.persistence, javax.validation, and javax.servlet packages with their jakarta equivalents and verify no javax references remain. This targets broad codebase migrations across persistence, validation, and servlet APIs.

What is the javax to jakarta namespace migration for Spring Boot 3?

The javax to jakarta namespace migration updates Java EE package imports to the jakarta.* namespace, enabling legacy applications to run on Spring Boot 3.x. It covers updating annotations and entity mappings for persistence, validation, and servlet domains.

Can I use OpenRewrite for batch javax to jakarta code refactoring?

Yes, you can use OpenRewrite for batch javax to jakarta code refactoring. The migration process includes batch replacement steps and OpenRewrite guidance to systematically update javax imports to jakarta across the entire codebase.

Does Jakarta namespace migration support all Java EE packages?

Jakarta namespace migration supports broad codebase updates across persistence, validation, servlet, annotations, and transactions domains. It enforces verification steps to confirm no remaining javax imports and that jakarta imports are properly present.

Why do I need to refactor javax to jakarta imports for Spring Boot 3?

You need to refactor javax to jakarta imports because Spring Boot 3.x requires the Jakarta EE namespace instead of Java EE. Migrating these packages ensures your updated legacy services run correctly on the new framework version.