documentation home

FAQ  Migrating from the `javax` to `jakarta` namespace


Problem

How to update the miredot configuration when transitioning your application from Java EE to Jakarta EE.

Solution

After you migrated your application from Java EE to Jakarta EE, miredot will no longer find any interfaces. To solve this you will need to update your configuration to use Jakarta EE. This is done by setting the restFramework configuration parameter to jakarta.

An example configuration for Maven and Gradle can be found below:

Maven:
<configuration>
    <restModel>
        <restFramework>
            <name>jakarta</name>
        </restFramework>
    </restModel>
</configuration>
Gradle:
restModel {
    restFramework{
        name = 'jakarta'
    }
}