I just upgraded from Karaf 3 to 4, now facing problems with the deployment of the jasperreports-x.x.x.jar via Karaf-feature.
It seems like the new Karaf "interprets" the missing Bundle-ManifestVersion as "Bundle-ManifestVersion: 1" what causes deployment errors as attached below. Karaf 4 comes with a higher version of Apache Felix that does not support OSGi R3 anymore. OSGi R4 and higher introduces a required Bundle-ManifestVersion: of 2.
I know this is an optional attrbute, does anyone know why it is missing or faces similar issues using Karaf 4?
Caused by: java.lang.Exception: Unable to create resource for bundle mvn:net.sf.jasperreports/jasperreports/5.6.1
Caused by: org.osgi.framework.BundleException: Unable to build resource for mvn:net.sf.jasperreports/jasperreports/5.6.1: Unsupported 'Bundle-ManifestVersion' value: 1
Caused by: org.osgi.framework.BundleException: Unsupported 'Bundle-ManifestVersion' value: 1