Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Missing OSGI requirement osgi.wiring.package=com.github.jaiimageio.impl.common #43

Open
grrobinson opened this issue Jun 14, 2023 · 0 comments

Comments

@grrobinson
Copy link

grrobinson commented Jun 14, 2023

Hello,

When trying to start jai-imageio-jpeg2000 (v1.4.0) on an OSGI environment, I have the following message :

"org.osgi.framework.BundleException: Unable to resolve jai-imageio-jpeg2000 [242](R 242.0): missing requirement [jai-imageio-jpeg2000 [242](R 242.0)] osgi.wiring.package; (osgi.wiring.package=com.github.jaiimageio.impl.common) Unresolved requirements: [[jai-imageio-jpeg2000 [242](R 242.0)] osgi.wiring.package; (osgi.wiring.package=com.github.jaiimageio.impl.common)]"

This error comes from the fact that jai-imageio-jpeg2000 manifest contains the following Import-Package: com.github.jaiimageio.impl.common

Whereas jai-imageio-core does not export this package.

Here are the dependencies added in my OSGI subsystem :

<dependency>
    <groupId>com.github.jai-imageio</groupId>
    <artifactId>jai-imageio-core</artifactId>
     <version>1.4.0</version>
</dependency>
<dependency>
    <groupId>com.github.jai-imageio</groupId>
    <artifactId>jai-imageio-jpeg2000</artifactId>
    <version>1.4.0</version>
</dependency>

Could you please fix the issue so we can use jai-imageio-jpeg2000 with OSGI ? Maybe the use of com.github.jaiimageio.impl.common package is not expected ?

Thanks for your help and best regards.
Gregori.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant