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

OSGi plugin with si units #88

Open
jacqueslorentz opened this issue Oct 17, 2022 · 0 comments
Open

OSGi plugin with si units #88

jacqueslorentz opened this issue Oct 17, 2022 · 0 comments
Labels
Milestone

Comments

@jacqueslorentz
Copy link

Hello,

I am currently working on a eclipse RAP application and I would like to use the si.uom.SI class.
I get the following error: java.lang.NoClassDefFoundError: si/uom/SI ....
The application is correctly configured, the si-units bundle is imported.

With the si.uom.quantity classes it works well.

Is it related to this commented code?

si-units/units/pom.xml

Lines 153 to 160 in 71f6f62

<!-- ======================================================= -->
<!-- Packaging (OSGi bundle) -->
<!-- ======================================================= -->
<!-- <plugin> <groupId>org.apache.felix</groupId> <artifactId>maven-bundle-plugin</artifactId>
<extensions>true</extensions> <configuration> <instructions> <Export-Package>si.uom</Export-Package>
<Private-Package>si.uom.internal</Private-Package> </instructions> </configuration>
</plugin> -->

In si-quantity the corresponding plugin is not commented:
<!-- ======================================================= -->
<!-- Packaging (OSGi bundle) -->
<!-- ======================================================= -->
<plugin>
<groupId>org.apache.felix</groupId>
<artifactId>maven-bundle-plugin</artifactId>
<extensions>true</extensions>
<configuration>
<instructions>
<Export-Package>si.uom.*</Export-Package>
</instructions>
</configuration>
</plugin>

Thank you very much and have a good day!

@keilw keilw added the analysis label Oct 17, 2022
@keilw keilw added this to the 2.1.1 milestone Oct 17, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Status: 🆕 New
Development

No branches or pull requests

2 participants