I am running Java Spring Boot and receiving this error. How can it be resolved? We see it during runtime. I tried searching github and google, didn't see any resolutions.
Caused by: java.lang.ClassNotFoundException: com.codahale.metrics.JmxReporter
at java.net.URLClassLoader.findClass(URLClassLoader.java:381)
at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:331)
at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
CodePudding user response:
Are you using maven or gradle? Probably your project is missing a dependency. Probably this one https://mvnrepository.com/artifact/com.codahale.metrics/metrics-core