# Confluent failed to find any class that implements connector

**URL:** <https://forum.confluent.io/t/confluent-failed-to-find-any-class-that-implements-connector/4417>\
**Category:** Managed Connectors\
**Created:** [10 March 2022 16:15 UTC](https://forum.confluent.io/t/confluent-failed-to-find-any-class-that-implements-connector/4417 "2022-03-10T16:15:40Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![junxian](https://avatars.discourse-cdn.com/v4/letter/j/e19adc/32.png) [@junxian](https://forum.confluent.io/u/junxian)\
**Post date:** [10 March 2022 16:15 UTC](https://forum.confluent.io/t/confluent-failed-to-find-any-class-that-implements-connector/4417/1 "2022-03-10T16:15:40Z")

</div>

Good day,

I go to [https://www.confluent.io/installation/](https://www.confluent.io/installation/) , and download the Confluent platform in ZIP file under “Local”, after unzip it, I continue to start the confluent platform by the following command:

```auto
confluent local services start

```

I can see all the service started correctly, and I able to view my control center throw browser.

And this is the folder structure of my Confluent platform:

[![enter image description here](https://us1.discourse-cdn.com/flex019/uploads/confluentcommunity/original/2X/f/fff52301edc8966ef7651f39843818d7f94f4fa3.png)](https://i.stack.imgur.com/mp0un.png)

After that, I referring to [https://docs.confluent.io/kafka-connect-sftp/current/source-connector/index.html#configuration-properties](https://docs.confluent.io/kafka-connect-sftp/current/source-connector/index.html#configuration-properties) , to install the sftp connector.

I install the connector by the following command:

```auto
confluent-hub install confluentinc/kafka-connect-sftp:latest

```

Command run successfully, and I can see the folder created in /share/confluent-hub-components [![enter image description here](https://us1.discourse-cdn.com/flex019/uploads/confluentcommunity/original/2X/8/871454db94e93d1988d992c1043cf6454e888f4d.png)](https://i.stack.imgur.com/mXcf8.png)

Base on the guide from confluent [website](https://docs.confluent.io/kafka-connect-sftp/current/source-connector/index.html#configuration-properties), I need to create 1 file call `sftp.json` , and then load the connector by following command:

```auto
confluent local services connect connector load CsvSFTP --config sftp.json

```

However, I am hitting error like follow:

```auto
[meow@localhost confluent-7.0.1]$ confluent local services connect connector load CsvSFTP --config sftp.json
The local commands are intended for a single-node development environment only,
NOT for production usage. https://docs.confluent.io/current/cli/index.html

{
  "error_code": 500,
  "message": "Failed to find any class that implements Connector and which name matches io.confluent.connect.sftp.SftpCsvSourceConnector, available connectors are: PluginDesc{klass=class io.confluent.connect.replicator.ReplicatorSourceConnector, name='io.confluent.connect.replicator.ReplicatorSourceConnector', version='7.0.1', encodedVersion=7.0.1, type=source, typeName='source', location='file:/home/meow/Workspace/confluentPlatform/confluent-7.0.1/share/java/kafka-connect-replicator/'}, PluginDesc{klass=class org.apache.kafka.connect.mirror.MirrorCheckpointConnector, name='org.apache.kafka.connect.mirror.MirrorCheckpointConnector', version='1', encodedVersion=1, type=source, typeName='source', location='file:/home/meow/Workspace/confluentPlatform/confluent-7.0.1/share/java/kafka/'}, PluginDesc{klass=class org.apache.kafka.connect.mirror.MirrorHeartbeatConnector, name='org.apache.kafka.connect.mirror.MirrorHeartbeatConnector', version='1', encodedVersion=1, type=source, typeName='source', location='file:/home/meow/Workspace/confluentPlatform/confluent-7.0.1/share/java/kafka/'}, PluginDesc{klass=class org.apache.kafka.connect.mirror.MirrorSourceConnector, name='org.apache.kafka.connect.mirror.MirrorSourceConnector', version='1', encodedVersion=1, type=source, typeName='source', location='file:/home/meow/Workspace/confluentPlatform/confluent-7.0.1/share/java/kafka/'}, PluginDesc{klass=class org.apache.kafka.connect.tools.MockConnector, name='org.apache.kafka.connect.tools.MockConnector', version='7.0.1-ce', encodedVersion=7.0.1-ce, type=connector, typeName='connector', location='file:/home/meow/Workspace/confluentPlatform/confluent-7.0.1/share/java/acl/'}, PluginDesc{klass=class org.apache.kafka.connect.tools.MockSinkConnector, name='org.apache.kafka.connect.tools.MockSinkConnector', version='7.0.1-ce', encodedVersion=7.0.1-ce, type=sink, typeName='sink', location='file:/home/meow/Workspace/confluentPlatform/confluent-7.0.1/share/java/acl/'}, PluginDesc{klass=class org.apache.kafka.connect.tools.MockSourceConnector, name='org.apache.kafka.connect.tools.MockSourceConnector', version='7.0.1-ce', encodedVersion=7.0.1-ce, type=source, typeName='source', location='file:/home/meow/Workspace/confluentPlatform/confluent-7.0.1/share/java/acl/'}, PluginDesc{klass=class org.apache.kafka.connect.tools.SchemaSourceConnector, name='org.apache.kafka.connect.tools.SchemaSourceConnector', version='7.0.1-ce', encodedVersion=7.0.1-ce, type=source, typeName='source', location='file:/home/meow/Workspace/confluentPlatform/confluent-7.0.1/share/java/acl/'}, PluginDesc{klass=class org.apache.kafka.connect.tools.VerifiableSinkConnector, name='org.apache.kafka.connect.tools.VerifiableSinkConnector', version='7.0.1-ce', encodedVersion=7.0.1-ce, type=source, typeName='source', location='file:/home/meow/Workspace/confluentPlatform/confluent-7.0.1/share/java/acl/'}, PluginDesc{klass=class org.apache.kafka.connect.tools.VerifiableSourceConnector, name='org.apache.kafka.connect.tools.VerifiableSourceConnector', version='7.0.1-ce', encodedVersion=7.0.1-ce, type=source, typeName='source', location='file:/home/meow/Workspace/confluentPlatform/confluent-7.0.1/share/java/acl/'}"

```

Looks like my confluent platform did not load the connector that I install, then I go to edit the plugin.path value in `connect-standalone.properties` , add in the newly install connector path:

```auto
plugin.path=/usr/share/java,/home/meow/Workspace/confluentPlatform/confluent-7.0.1/share/confluent-hub-components

```

And then follow by restart my confluent platform, and try again, result still same, error message still same. Please advise which mistake I have make.

And how can I know the `confluent-standalone.properties` is being loaded when starting Confluent Platform, because I check my log in `/home/meow/Workspace/confluentPlatform/confluent-7.0.1/logs` , its not append there unless `schema-registry.log` .

kindly advise.

---

<div class="post-metadata">

**Author:** ![rmoff](https://sea1.discourse-cdn.com/flex019/user_avatar/forum.confluent.io/rmoff/32/3_2.png) [@rmoff](https://forum.confluent.io/u/rmoff)\
**Post date:** [10 March 2022 16:17 UTC](https://forum.confluent.io/t/confluent-failed-to-find-any-class-that-implements-connector/4417/2 "2022-03-10T16:17:01Z")

</div>

> [@junxian](#):
>
> `confluent-hub install confluentinc/kafka-connect-sftp:latest`

After running this you need to restart the Kafka Connect worker. You shouldn’t need to edit `connect-standalone.properties` if the Confluent Hub client install worked correctly.

---

<div class="post-metadata">

**Author:** ![junxian](https://avatars.discourse-cdn.com/v4/letter/j/e19adc/32.png) [@junxian](https://forum.confluent.io/u/junxian)\
**Post date:** [10 March 2022 17:05 UTC](https://forum.confluent.io/t/confluent-failed-to-find-any-class-that-implements-connector/4417/3 "2022-03-10T17:05:01Z")

</div>

Good day,  
May I know is the command correct?

confluent local services connect stop  
confluent local services connect start

---

<div class="post-metadata">

**Author:** ![rmoff](https://sea1.discourse-cdn.com/flex019/user_avatar/forum.confluent.io/rmoff/32/3_2.png) [@rmoff](https://forum.confluent.io/u/rmoff)\
**Post date:** [10 March 2022 17:13 UTC](https://forum.confluent.io/t/confluent-failed-to-find-any-class-that-implements-connector/4417/4 "2022-03-10T17:13:49Z")

</div>

Yes, that seems right, see [confluent local services connect stop | Confluent Documentation](https://docs.confluent.io/confluent-cli/current/command-reference/local/services/connect/confluent_local_services_connect_stop.html)

---

<div class="post-metadata">

**Author:** ![junxian](https://avatars.discourse-cdn.com/v4/letter/j/e19adc/32.png) [@junxian](https://forum.confluent.io/u/junxian)\
**Post date:** [11 March 2022 04:10 UTC](https://forum.confluent.io/t/confluent-failed-to-find-any-class-that-implements-connector/4417/5 "2022-03-11T04:10:19Z")

</div>

Good day,  
Actually I did restart, but still the same.  
I just get a solution from stack over flow there, I edit my plugin.path in etc/schema-registry/connect-avro-distributed.properties, restart, and then its work.  
The thing I not understand is, how come its related to schema registry? I thought it suppose to be the standalone ones?

---

<div class="post-metadata">

**Author:** ![rmoff](https://sea1.discourse-cdn.com/flex019/user_avatar/forum.confluent.io/rmoff/32/3_2.png) [@rmoff](https://forum.confluent.io/u/rmoff)\
**Post date:** [11 March 2022 09:36 UTC](https://forum.confluent.io/t/confluent-failed-to-find-any-class-that-implements-connector/4417/6 "2022-03-11T09:36:49Z")

</div>

When you launch the connect worker it uses that config file - which is why it worked for you when you changed it. I’m still puzzled why the Confluent Hub client didn’t correctly update it for you.

The reason it’s that file is kinda convoluted. It goes something like this:

- Apache Kafka doesn’t ship with Avro support
- Confluent CLI launches Kafka Connect worker in distributed mode with Avro support
- Schema Registry provides the Avro support
- Therefore the config file for Kafka Connect has to reside in the Schema Registry folder

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex019/uploads/confluentcommunity/original/1X/c49438c90c9df282e9996fdf6971be890c71b65a.svg) [@system](https://forum.confluent.io/u/system)\
**Post date:** [18 March 2022 09:36 UTC](https://forum.confluent.io/t/confluent-failed-to-find-any-class-that-implements-connector/4417/7 "2022-03-18T09:36:59Z")

</div>

Closed on 18 March 2022 09:36 UTC

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.
