Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[hono-dev] The import org.eclipse.hono.client.impl.HonoClientImpl cannot be resolved

Hi,

I am following the example of the integration of Hono sender. When I copy the source code into my project, there is an error related to HonoClientImpl cannot be resolved at this line: 

import org.eclipse.hono.client.impl.HonoClientImpl;

Therefore the instance of HonoClientImpl of the code below cannot be resolved:

honoClient = new HonoClientImpl(vertx, ConnectionFactoryImpl.ConnectionFactoryBuilder.newBuilder() .vertx(vertx) .host(HONO_HOST) .port(HONO_PORT) .user("hono-client") .password("secret") .trustStorePath("certs/trusted-certs.pem") .disableHostnameVerification() .build());

I had added the dependency of Hono client into pom.xml. Could you guide me how to fix this ?

Best regards,
T. Nguyen

Back to the top