kafka-monitor icon indicating copy to clipboard operation
kafka-monitor copied to clipboard

ClassNotFoundException: com.linkedin.kmf.services.ProduceService

Open SumanRamakrishna opened this issue 2 years ago • 1 comments

Hi, I am trying to run the below command after building the jar file. Am getting the below error. Please help.

./bin/xinfra-monitor-start.sh config/xinfra-monitor.properties

com.linkedin.xinfra.monitor.services.configs.DefaultMetricsReporterServiceConfig) [2022-07-05 16:51:41,745] INFO ClusterTopicManipulationService constructor initiated com.linkedin.xinfra.monitor.services.ClusterTopicManipulationService (com.linkedin.xinfra.monitor.services.ClusterTopicManipulationService) [2022-07-05 16:51:41,746] INFO TopicManagementServiceConfig values: topic = xinfra-monitor topic-management.minPartitionNum = 1 topic-management.partitionsToBrokersRatio = 1.0 topic-management.replicationFactor = 1 topic-management.topicAddPartitionEnabled = true topic-management.topicCreationEnabled = true topic-management.topicFactory.class.name = com.linkedin.xinfra.monitor.topicfactory.DefaultTopicFactory topic-management.topicManagementEnabled = true topic-management.topicReassignPartitionAndElectLeaderEnabled = true zookeeper.connect = localhost:2181 (com.linkedin.xinfra.monitor.services.configs.TopicManagementServiceConfig) Exception in thread "main" java.lang.ClassNotFoundException: com.linkedin.kmf.services.ProduceService at java.base/jdk.internal.loader.BuiltinClassLoader.loadClass(BuiltinClassLoader.java:582) at java.base/jdk.internal.loader.ClassLoaders$AppClassLoader.loadClass(ClassLoaders.java:178) at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:521) at java.base/java.lang.Class.forName0(Native Method) at java.base/java.lang.Class.forName(Class.java:315) at com.linkedin.xinfra.monitor.XinfraMonitor.(XinfraMonitor.java:74) at com.linkedin.xinfra.monitor.XinfraMonitor.main(XinfraMonitor.java:186)

SumanRamakrishna avatar Jul 05 '22 11:07 SumanRamakrishna

This is your first issue in the repository. Thank you for raising this issue.' first issue

github-actions[bot] avatar Jul 05 '22 11:07 github-actions[bot]