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

schema-registry-start server - ClassNotFoundException #2981

Open
suresh-Gudapati opened this issue Feb 20, 2024 · 0 comments
Open

schema-registry-start server - ClassNotFoundException #2981

suresh-Gudapati opened this issue Feb 20, 2024 · 0 comments

Comments

@suresh-Gudapati
Copy link

Hi, I am using confluent-schema-registry-7.5.3 (Confluent-Community) with openjdk 11.0.22 and trying to start the SchemaRegistry services but getting “ClassNotFoundException” with the error: Any idea what might be causing this error?

ERROR Server died unexpectedly: (io.confluent.kafka.schemaregistry.rest.SchemaRegistryMain)
org.apache.kafka.common.KafkaException: Class io.confluent.kafka.schemaregistry.security.SchemaRegistrySecurityResourceExtension cannot be found
at org.apache.kafka.common.config.AbstractConfig.getConfiguredInstance(AbstractConfig.java:391)
at org.apache.kafka.common.config.AbstractConfig.getConfiguredInstances(AbstractConfig.java:482)
at org.apache.kafka.common.config.AbstractConfig.getConfiguredInstances(AbstractConfig.java:460)
at org.apache.kafka.common.config.AbstractConfig.getConfiguredInstances(AbstractConfig.java:446)
at io.confluent.kafka.schemaregistry.storage.KafkaSchemaRegistry.(KafkaSchemaRegistry.java:174)
at io.confluent.kafka.schemaregistry.rest.SchemaRegistryRestApplication.initSchemaRegistry(SchemaRegistryRestApplication.java:73)
at io.confluent.kafka.schemaregistry.rest.SchemaRegistryRestApplication.configureBaseApplication(SchemaRegistryRestApplication.java:101)
at io.confluent.rest.Application.configureHandler(Application.java:299)
at io.confluent.rest.ApplicationServer.doStart(ApplicationServer.java:201)
at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:73)
at io.confluent.kafka.schemaregistry.rest.SchemaRegistryMain.main(SchemaRegistryMain.java:44)
Caused by: java.lang.ClassNotFoundException: io.confluent.kafka.schemaregistry.security.SchemaRegistrySecurityResourceExtension
at java.base/jdk.internal.loader.BuiltinClassLoader.loadClass(BuiltinClassLoader.java:581)
at java.base/jdk.internal.loader.ClassLoaders$AppClassLoader.loadClass(ClassLoaders.java:178)
at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:527)
at java.base/java.lang.Class.forName0(Native Method)
at java.base/java.lang.Class.forName(Class.java:398)
at org.apache.kafka.common.utils.Utils.loadClass(Utils.java:423)
at org.apache.kafka.common.utils.Utils.newInstance(Utils.java:412)
at org.apache.kafka.common.config.AbstractConfig.getConfiguredInstance(AbstractConfig.java:389)
... 10 more

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant