The dependency is added but not correctly loaded, possibly due to a failed build.
Run mvn clean install to rebuild and ensure dependencies are loaded.
IncompatibleClassChangeError
An incompatible version of `jakarta.inject-api` for the specified Java version is being used.
Ensure that the `jakarta.inject-api` version matches the required Java version (e.g., version 1.0.5 requires Java 6 or higher).
Manifest File Information
Manifest-Version: 1.0
Bundle-ManifestVersion: 2
Bundle-Name: Jakarta Inject API
Bundle-SymbolicName: jakarta.inject-api
Bundle-Version: 1.0.5
Bundle-Description: Jakarta Inject API provides dependency injection annotations for Java applications.
Bundle-License: https://www.eclipse.org/legal/epl-2.0/
Export-Package: jakarta.inject;version="1.0.5"
Require-Capability: osgi.ee;filter:="(&(osgi.ee=JavaSE)(version>=6))"
Bundle-Vendor: Eclipse Foundation
Automatic-Module-Name: jakarta.inject
Specification-Title: Jakarta Inject API
Specification-Version: 1.0
Specification-Vendor: Eclipse Foundation
Implementation-Title: jakarta.inject-api
Implementation-Version: 1.0.5
Implementation-Vendor: Eclipse Foundation