In Jakarta EE 9 the package namespace has changed from javax.* to jakarta.*. Applications
need to be updated to use the jakarta prefix for Jakarta EE APIs and properties. The javax
APIs in Java SE remain unchanged so not all javax packages should be changed. This rule is flagged once
per application archive.
Using the
Eclipse Transformer tool is recommended to update Java EE javax APIs and properties that have changed to
the jakarta version. The tool can be used to update either application source or binaries. Find and replace all should not be used to update the
javax packages to jakarta since the Java SE javax packages are unchanged.
For more information on the Eclipse Transformer, see Enabling Jakarta EE 9 for development and test by using the Eclipse Transformer or the Eclipse Transformer Github.