[jboss-jira] [JBoss JIRA] (WFLY-10554) OpenSAML 3.3.0 complains for missing class from "metrics-core"

Radoslav Ivanov (Jira) issues at jboss.org
Thu Jun 6 21:32:00 EDT 2019


    [ https://issues.jboss.org/browse/WFLY-10554?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13743661#comment-13743661 ] 

Radoslav Ivanov commented on WFLY-10554:
----------------------------------------

It happens during initialization of OpenSAML when calling it from an application.

{code:java}
Caused by: java.lang.NoClassDefFoundError: com/codahale/metrics/MetricRegistry
	at org.opensaml//org.opensaml.core.metrics.impl.MetricRegistryInitializer.init(MetricRegistryInitializer.java:42)
	at org.opensaml//org.opensaml.core.config.InitializationService.initialize(InitializationService.java:56)
{code}

You see, "opensaml-core" has three services of type "org.opensaml.core.config.Initializer" - one of them is "org.opensaml.core.metrics.impl.MetricRegistryInitializer" and it is requiring "metrics-core".

> OpenSAML 3.3.0 complains for missing class from "metrics-core"
> --------------------------------------------------------------
>
>                 Key: WFLY-10554
>                 URL: https://issues.jboss.org/browse/WFLY-10554
>             Project: WildFly
>          Issue Type: Bug
>          Components: Web Services
>    Affects Versions: 13.0.0.Final
>            Reporter: Radoslav Ivanov
>            Assignee: Jim Ma
>            Priority: Critical
>         Attachments: screenshot-1.png
>
>
> Module OpenSAML 3.3.0 requires depedency to module "io.dropwizard.metrics:metrics-core" but it does not present. As a result ClassNotFoundException is thrown.



--
This message was sent by Atlassian Jira
(v7.12.1#712002)


More information about the jboss-jira mailing list