Fault Tolerance 2.1: org.eclipse.microprofile.faulttolerance cannot be resolved #12567
Labels
bug
This bug is not present in a released version of Open Liberty
release bug
This bug is present in a released version of Open Liberty
release:20007
Projects
Describe the bug
The bug seems to be caused by the Fault Tolerance 2.1 API feature not having a dependency on the Fault Tolerance 2.1 API jar
The corresponding 2.0 API feature does have this dependency (as do all the other openliberty feature in maven central I looked at)
Steps to Reproduce
server.xml
:(or
<feature>microProfile-3.3</feature>
)pom.xml
:(or
<artifactId>microProfile-3.3</artifactId>
)The
microprofile-fault-tolerance-api-2.1.1.jar
does not built, and hence the following error message will appear:The import org.eclipse.microprofile.faulttolerance cannot be resolved
Expected behavior
Adding
<feature>mpFaultTolerance-2.1</feature>
should import the dependency, and the FT features should be resolvedDiagnostic information:
Additional context
The error seems to be caused by the feature not being correctly linked to the fault tolerance api in maven central.
Adding the following dependency resolves the issue:
The text was updated successfully, but these errors were encountered: