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

[metering] NoClassDefFoundError - mandatory transitive Micrometer dependencies missing #2288

Closed
pravussum opened this issue Apr 13, 2021 · 1 comment · Fixed by #2289
Closed
Assignees
Labels
bug An unexpected problem or unintended behavior of the Core

Comments

@pravussum
Copy link
Contributor

This has originally been reported in openhab-addons:
openhab/openhab-addons#10515

The actual issue is located within the core, since the Metrics IO addon makes use of the MeterRegistryProvider provided by the core (org.openhab.core.io.monitor bundle). The Micrometer classes depend on a transitive dependency, which is only present in the Metrics IO addon, but not in the core bundle.

The solution is to include mandatory transitive dependencies of Micrometer in the core bunde.

@pravussum
Copy link
Contributor Author

Can someone assign this to me please?

pravussum pushed a commit to pravussum/openhab-core that referenced this issue Apr 13, 2021
@cweitkamp cweitkamp added the bug An unexpected problem or unintended behavior of the Core label Apr 14, 2021
pravussum pushed a commit to pravussum/openhab-core that referenced this issue Apr 18, 2021
pravussum pushed a commit to pravussum/openhab-core that referenced this issue Apr 18, 2021
kaikreuzer pushed a commit that referenced this issue Apr 28, 2021
fwolter pushed a commit to fwolter/openhab-core that referenced this issue May 24, 2021
splatch pushed a commit to ConnectorIO/copybara-hab-core that referenced this issue Jul 11, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug An unexpected problem or unintended behavior of the Core
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants