afs commented on issue #2660: URL: https://github.com/apache/jena/issues/2660#issuecomment-2313184257
This happened at https://github.com/apache/jena/pull/2483/files Micrometer 1.12.5 to 1.13.0 made a packing change: `io.micrometer.prometheus` -> `io.micrometer.prometheusmetrics` ``` java.lang.NoClassDefFoundError: io/micrometer/prometheusmetrics/PrometheusMeterRegistry ``` means Jena was compiled against the new package but at runtime it was not found. May be your application is picking up an older micrometer via a difference dependency route. The maven resolution rule is "least depth" and not version resolving. See what `mvn dependency:tree` says for your application. `jena-fuseki-main` on it's own is (current development code base - 1.13.3 is latest micrometer from 1.13.0. ``` [INFO] --- dependency:3.7.1:tree (default-cli) @ jena-fuseki-main --- [INFO] org.apache.jena:jena-fuseki-main:jar:5.2.0-SNAPSHOT [INFO] +- org.apache.jena:jena-fuseki-core:jar:5.2.0-SNAPSHOT:compile ... [INFO] | +- io.micrometer:micrometer-core:jar:1.13.3:compile [INFO] | | +- io.micrometer:micrometer-commons:jar:1.13.3:compile [INFO] | | +- io.micrometer:micrometer-observation:jar:1.13.3:compile [INFO] | | +- org.hdrhistogram:HdrHistogram:jar:2.2.2:runtime [INFO] | | \- org.latencyutils:LatencyUtils:jar:2.0.3:runtime [INFO] | \- io.micrometer:micrometer-registry-prometheus:jar:1.13.3:compile [INFO] | +- io.prometheus:prometheus-metrics-core:jar:1.2.1:compile [INFO] | | +- io.prometheus:prometheus-metrics-model:jar:1.2.1:compile [INFO] | | \- io.prometheus:prometheus-metrics-config:jar:1.2.1:compile [INFO] | +- io.prometheus:prometheus-metrics-tracer-common:jar:1.2.1:compile [INFO] | \- io.prometheus:prometheus-metrics-exposition-formats:jar:1.2.1:runtime [INFO] | \- io.prometheus:prometheus-metrics-shaded-protobuf:jar:1.2.1:runtime ``` -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
