Using servlet-6.0 and
PREFERRED_FEATURE_VERSIONS=mpHealth-1.0,mpHealth-4.0,mpMetrics-1.0,mpMetrics-1.1,mpMetrics-2.0,mpMetrics-2.2,mpMetrics-2.3,mpMetrics-3.0,mpMetrics-4.0
Note that mpHealth-4.0 is applicable, but there is no applicable mpMetric feature listed. The error ends up targeting mpHealth-1.0
[ERROR ] CWWKF0044E: The servlet-6.0 and io.openliberty.internal.versionless.mpHealth-1.0 features cannot be loaded at the same time. The servlet-6.0 feature of Jakarta EE 10 is incompatible with the io.openliberty.internal.versionless.mpHealth-1.0 feature of Java EE 7. The servlet-6.0 and mpHealth configured features include an incompatible combination of features. Your configuration is not supported. Update the configuration to use features that support either the Jakarta EE or Java EE programming models, but not both.
Using servlet-6.0 and PREFERRED_FEATURE_VERSIONS=mpHealth-1.0,mpHealth-4.0,mpMetrics-1.0,mpMetrics-1.1,mpMetrics-2.0,mpMetrics-2.2,mpMetrics-2.3,mpMetrics-3.0,mpMetrics-4.0
Note that mpHealth-4.0 is applicable, but there is no applicable mpMetric feature listed. The error ends up targeting mpHealth-1.0