Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [paho-dev] Problems compiling org.eclipse.paho.jmeclient.mqttv3

Hi Ian,

I’ll give it a try to compile the low-level embedded C client for the Spark Core. And looking forward seeing the high(er)-level C++ embedded API one of the next days (that I’ll also try with the Spark Core).

Thanks.
Guy

From: Ian Craggs <icraggs@xxxxxxxxxxxxxxxxxxxxxxx>
Reply-To: General development discussions for paho project <paho-dev@xxxxxxxxxxx>
Date: Friday 12 September 2014 14:06
To: <paho-dev@xxxxxxxxxxx>
Subject: Re: [paho-dev] Problems compiling org.eclipse.paho.jmeclient.mqttv3

Hi Guy,

we've not had any problems with the low-level embedded C client in any environment we've tried it so far. 

Oh - there was one instance of a really old C compiler for a PIC chip which had memory model options for static strings and the serialize connect call uses a couple of them, so the code had to be modified a little.  Apart from that, no problem.

This level of API (which I'm now calling MQTTPacket) is really low-level so it does need more work to use it in a program, but there are examples in the repo.

We are working on a higher-level C++ embedded API, in MQTTClient.h, which works very well in the mbed and Arduino environments, and is more natural for them.  As the Spark Core is advertised as Arduino compatible, then this could be a good option.   I hope to have this library with Arduino code in Paho in the next couple of days, and add it to the Arduino community too.

http://git.eclipse.org/c/paho/org.eclipse.paho.mqtt.embedded-c.git/tree/MQTTClient/src/MQTTClient.h
https://mbed.org/teams/mqtt/code/MQTT/docs/f5beda831651/classMQTT_1_1Client.html

Ian


On 09/11/2014 04:02 PM, Guy Dillen wrote:
Hi Ian,

Thanks for the effort. Well in fact I tried to compile it against the 1) J2ME 3.4 and 2) the adapted Java SDK of the Gemalto Cinterion Concept board. But both give problems. If you have any suggestions i’m more than happy to try further to get the library working.

Other option where I’m also looking for is to use the embedded C library with:
  • TI CC3200 MCU (I know there’s a webcast of it given by Benjamin CabĂ©); he uses the library from Code Composer Studio, can it also (out-of-the-box) be used from Energia (energia.nu)?
  • Spark Core (www.spark.io)
Thanks.
Guy

From: Ian Craggs <icraggs@xxxxxxxxxxxxxxxxxxxxxxx>
Reply-To: General development discussions for paho project <paho-dev@xxxxxxxxxxx>
Date: Thursday 11 September 2014 16:44
To: <paho-dev@xxxxxxxxxxx>
Subject: Re: [paho-dev] Problems compiling org.eclipse.paho.jmeclient.mqttv3

Hi Guy,

I presume you are using the 3.4 Java ME SDK?  We have been finding it difficult to find someone to answer your question, but are going to try to get the person at IBM who did some work on the ME client in the past to look at how it builds with 3.4.

We are uncertain as to the level of interest in Java ME, and how much effort should be put into it.  Are there other options (like a C/C++ library for instance) for your application? 

If there is anyone out there who would like to maintain or contribute a Java ME MQTT client, we would be very interested to hear from you!

Ian

On 09/08/2014 11:27 AM, Guy Dillen wrote:

Hi,

 

I’m trying to build (using ant with the provided build.xml) “out-of-the-box” org.eclipse.paho.jmeclient.mqttv3 (source); however I get a lot of errors (see below). Please can someone give me some hints to build successfully the j2me client? Thanks.

 

Buildfile: C:\Data\mqtt\org.eclipse.paho.mqtt.java-1.0.0\org.eclipse.paho.jmeclient\org.eclipse.paho.jmeclient.mqttv3\build.xml

  [taskdef] Could not load definitions from resource net/sf/antcontrib/antcontrib.properties. It could not be found.

 

clean:

     [echo] Cleaning project...

   [delete] Deleting directory C:\Data\mqtt\org.eclipse.paho.mqtt.java-1.0.0\org.eclipse.paho.jmeclient\org.eclipse.paho.jmeclient.mqttv3\target\work

 

init:

    [mkdir] Created dir: C:\Data\mqtt\org.eclipse.paho.mqtt.java-1.0.0\org.eclipse.paho.jmeclient\org.eclipse.paho.jmeclient.mqttv3\target\work\src

    [mkdir] Created dir: C:\Data\mqtt\org.eclipse.paho.mqtt.java-1.0.0\org.eclipse.paho.jmeclient\org.eclipse.paho.jmeclient.mqttv3\target\work\bin

 

compile:

     [echo] Compiling client library...

     [copy] Copying 93 files to C:\Data\mqtt\org.eclipse.paho.mqtt.java-1.0.0\org.eclipse.paho.jmeclient\org.eclipse.paho.jmeclient.mqttv3\target\work\src

     [copy] Copied 38 empty directories to 2 empty directories under C:\Data\mqtt\org.eclipse.paho.mqtt.java-1.0.0\org.eclipse.paho.jmeclient\org.eclipse.paho.jmeclient.mqttv3\target\work\src

    [javac] Compiling 71 source files to C:\Data\mqtt\org.eclipse.paho.mqtt.java-1.0.0\org.eclipse.paho.jmeclient\org.eclipse.paho.jmeclient.mqttv3\target\work\bin

    [javac] warning: [options] bootstrap class path not set in conjunction with -source 1.3

    [javac] warning: [options] source value 1.3 is obsolete and will be removed in a future release

    [javac] warning: [options] target value 1.3 is obsolete and will be removed in a future release

    [javac] warning: [options] To suppress warnings about obsolete options, use -Xlint:-options.

    [javac] C:\Data\mqtt\org.eclipse.paho.mqtt.java-1.0.0\org.eclipse.paho.jmeclient\org.eclipse.paho.jmeclient.mqttv3\target\work\src\java\org\eclipse\paho\client\mqttv3\MqttAsyncClient.java:28: error: cannot find symbol

    [javac] import org.eclipse.paho.client.mqttv3.internal.LocalNetworkModule;

    [javac]                                               ^

    [javac]   symbol:   class LocalNetworkModule

    [javac]   location: package org.eclipse.paho.client.mqttv3.internal

    [javac] C:\Data\mqtt\org.eclipse.paho.mqtt.java-1.0.0\org.eclipse.paho.jmeclient\org.eclipse.paho.jmeclient.mqttv3\target\work\src\java\org\eclipse\paho\client\mqttv3\MqttAsyncClient.java:30: error: cannot find symbol

    [javac] import org.eclipse.paho.client.mqttv3.internal.SSLNetworkModule;

    [javac]                                               ^

    [javac]   symbol:   class SSLNetworkModule

    [javac]   location: package org.eclipse.paho.client.mqttv3.internal

    [javac] C:\Data\mqtt\org.eclipse.paho.mqtt.java-1.0.0\org.eclipse.paho.jmeclient\org.eclipse.paho.jmeclient.mqttv3\target\work\src\java\org\eclipse\paho\client\mqttv3\MqttAsyncClient.java:32: error: package org.eclipse.paho.client.mqttv3.internal.security does not exist

    [javac] import org.eclipse.paho.client.mqttv3.internal.security.SSLSocketFactoryFactory;

    [javac]                                                        ^

    [javac] C:\Data\mqtt\org.eclipse.paho.mqtt.java-1.0.0\org.eclipse.paho.jmeclient\org.eclipse.paho.jmeclient.mqttv3\target\work\src\java\org\eclipse\paho\client\mqttv3\MqttAsyncClient.java:40: error: cannot find symbol

    [javac] import org.eclipse.paho.client.mqttv3.persist.MqttDefaultFilePersistence;

    [javac]                                              ^

    [javac]   symbol:   class MqttDefaultFilePersistence

    [javac]   location: package org.eclipse.paho.client.mqttv3.persist

    [javac] C:\Data\mqtt\org.eclipse.paho.mqtt.java-1.0.0\org.eclipse.paho.jmeclient\org.eclipse.paho.jmeclient.mqttv3\target\work\src\java\org\eclipse\paho\client\mqttv3\MqttClient.java:23: error: cannot find symbol

    [javac] import org.eclipse.paho.client.mqttv3.persist.MqttDefaultFilePersistence;

    [javac]                                              ^

    [javac]   symbol:   class MqttDefaultFilePersistence

    [javac]   location: package org.eclipse.paho.client.mqttv3.persist

    [javac] C:\Data\mqtt\org.eclipse.paho.mqtt.java-1.0.0\org.eclipse.paho.jmeclient\org.eclipse.paho.jmeclient.mqttv3\target\work\src\org\eclipse\paho\client\mqttv3\internal\MqttMicroNetworkFactory.java:26: error: cannot find symbol

    [javac] public class MqttMicroNetworkFactory implements IMqttNetworkFactory {

    [javac]                                                 ^

    [javac]   symbol: class IMqttNetworkFactory

    [javac] C:\Data\mqtt\org.eclipse.paho.mqtt.java-1.0.0\org.eclipse.paho.jmeclient\org.eclipse.paho.jmeclient.mqttv3\target\work\src\java-templates\org\eclipse\paho\client\mqttv3\internal\ClientComms.java:207: error: cannot find symbol

    [javac]                                                                                       options.getMqttVersion(),

    [javac]                                                                                              ^

    [javac]   symbol:   method getMqttVersion()

    [javac]   location: variable options of type MqttConnectOptions

    [javac] C:\Data\mqtt\org.eclipse.paho.mqtt.java-1.0.0\org.eclipse.paho.jmeclient\org.eclipse.paho.jmeclient.mqttv3\target\work\src\org\eclipse\paho\client\mqttv3\MqttConnectOptions.java:148: error: cannot find symbol

    [javac]                            MqttAsyncClient.validateTopic(dest);

    [javac]                                           ^

    [javac]   symbol:   method validateTopic(String)

    [javac]   location: class MqttAsyncClient

    [javac] C:\Data\mqtt\org.eclipse.paho.mqtt.java-1.0.0\org.eclipse.paho.jmeclient\org.eclipse.paho.jmeclient.mqttv3\target\work\src\org\eclipse\paho\client\mqttv3\MqttConnectOptions.java:413: error: incompatible types: Hashtable cannot be converted to Properties

    [javac]                            return Debug.dumpProperties(getDebug(), "Connection options");

    [javac]                                                                ^

    [javac] C:\Data\mqtt\org.eclipse.paho.mqtt.java-1.0.0\org.eclipse.paho.jmeclient\org.eclipse.paho.jmeclient.mqttv3\target\work\src\org\eclipse\paho\client\mqttv3\util\PropertyResourceBundle.java:113: error: cannot find symbol

    [javac]                                           throw new MqttException(MqttException.REASON_CODE_CATALOG_NOT_FOUND);

    [javac]                                                                                ^

    [javac]   symbol:   variable REASON_CODE_CATALOG_NOT_FOUND

    [javac]   location: class MqttException

    [javac] C:\Data\mqtt\org.eclipse.paho.mqtt.java-1.0.0\org.eclipse.paho.jmeclient\org.eclipse.paho.jmeclient.mqttv3\target\work\src\java\org\eclipse\paho\client\mqttv3\MqttAsyncClient.java:163: error: cannot find symbol

    [javac]                            this(serverURI,clientId, new MqttDefaultFilePersistence());

    [javac]                                                         ^

    [javac]   symbol:   class MqttDefaultFilePersistence

    [javac]   location: class MqttAsyncClient

    [javac] C:\Data\mqtt\org.eclipse.paho.mqtt.java-1.0.0\org.eclipse.paho.jmeclient\org.eclipse.paho.jmeclient.mqttv3\target\work\src\java\org\eclipse\paho\client\mqttv3\MqttAsyncClient.java:355: error: cannot find symbol

    [javac]                            SocketFactory factory = options.getSocketFactory();

    [javac]                                                           ^

    [javac]   symbol:   method getSocketFactory()

    [javac]   location: variable options of type MqttConnectOptions

    [javac] C:\Data\mqtt\org.eclipse.paho.mqtt.java-1.0.0\org.eclipse.paho.jmeclient\org.eclipse.paho.jmeclient.mqttv3\target\work\src\java\org\eclipse\paho\client\mqttv3\MqttAsyncClient.java:377: error: cannot find symbol

    [javac]                                           SSLSocketFactoryFactory factoryFactory = null;

    [javac]                                           ^

    [javac]   symbol:   class SSLSocketFactoryFactory

    [javac]   location: class MqttAsyncClient

    [javac] C:\Data\mqtt\org.eclipse.paho.mqtt.java-1.0.0\org.eclipse.paho.jmeclient\org.eclipse.paho.jmeclient.mqttv3\target\work\src\java\org\eclipse\paho\client\mqttv3\MqttAsyncClient.java:380: error: cannot find symbol

    [javac]                                                                        factoryFactory = new SSLSocketFactoryFactory();

    [javac]                                                                                             ^

    [javac]   symbol:   class SSLSocketFactoryFactory

    [javac]   location: class MqttAsyncClient

    [javac] C:\Data\mqtt\org.eclipse.paho.mqtt.java-1.0.0\org.eclipse.paho.jmeclient\org.eclipse.paho.jmeclient.mqttv3\target\work\src\java\org\eclipse\paho\client\mqttv3\MqttAsyncClient.java:381: error: incompatible types: Hashtable cannot be converted to Properties

    [javac]                                                                        Properties sslClientProps = options.getSSLProperties();

    [javac]                                                                                                                            ^

    [javac] C:\Data\mqtt\org.eclipse.paho.mqtt.java-1.0.0\org.eclipse.paho.jmeclient\org.eclipse.paho.jmeclient.mqttv3\target\work\src\java\org\eclipse\paho\client\mqttv3\MqttAsyncClient.java:395: error: cannot find symbol

    [javac]                                           netModule = new SSLNetworkModule((SSLSocketFactory) factory, host, port, clientId);

    [javac]                                                           ^

    [javac]   symbol:   class SSLNetworkModule

    [javac]   location: class MqttAsyncClient

    [javac] C:\Data\mqtt\org.eclipse.paho.mqtt.java-1.0.0\org.eclipse.paho.jmeclient\org.eclipse.paho.jmeclient.mqttv3\target\work\src\java\org\eclipse\paho\client\mqttv3\MqttAsyncClient.java:396: error: cannot find symbol

    [javac]                                           ((SSLNetworkModule)netModule).setSSLhandshakeTimeout(options.getConnectionTimeout());

    [javac]                                             ^

    [javac]   symbol:   class SSLNetworkModule

    [javac]   location: class MqttAsyncClient

    [javac] C:\Data\mqtt\org.eclipse.paho.mqtt.java-1.0.0\org.eclipse.paho.jmeclient\org.eclipse.paho.jmeclient.mqttv3\target\work\src\java\org\eclipse\paho\client\mqttv3\MqttAsyncClient.java:401: error: cannot find symbol

    [javac]                                                                        ((SSLNetworkModule) netModule).setEnabledCiphers(enabledCiphers);

    [javac]                                                                          ^

    [javac]   symbol:   class SSLNetworkModule

    [javac]   location: class MqttAsyncClient

    [javac] C:\Data\mqtt\org.eclipse.paho.mqtt.java-1.0.0\org.eclipse.paho.jmeclient\org.eclipse.paho.jmeclient.mqttv3\target\work\src\java\org\eclipse\paho\client\mqttv3\MqttAsyncClient.java:406: error: cannot find symbol

    [javac]                                           netModule = new LocalNetworkModule(address.substring(8));

    [javac]                                                           ^

    [javac]   symbol:   class LocalNetworkModule

    [javac]   location: class MqttAsyncClient

    [javac] C:\Data\mqtt\org.eclipse.paho.mqtt.java-1.0.0\org.eclipse.paho.jmeclient\org.eclipse.paho.jmeclient.mqttv3\target\work\src\java\org\eclipse\paho\client\mqttv3\util\Debug.java:136: error: incompatible types: Hashtable cannot be converted to Properties

    [javac]                            props = comms.getConOptions().getDebug();

    [javac]                                                                  ^

    [javac] C:\Data\mqtt\org.eclipse.paho.mqtt.java-1.0.0\org.eclipse.paho.jmeclient\org.eclipse.paho.jmeclient.mqttv3\target\work\src\java\org\eclipse\paho\client\mqttv3\MqttClient.java:136: error: cannot find symbol

    [javac]                            this(serverURI,clientId, new MqttDefaultFilePersistence());

    [javac]                                                         ^

    [javac]   symbol:   class MqttDefaultFilePersistence

    [javac]   location: class MqttClient

    [javac] C:\Data\mqtt\org.eclipse.paho.mqtt.java-1.0.0\org.eclipse.paho.jmeclient\org.eclipse.paho.jmeclient.mqttv3\target\work\src\java\org\eclipse\paho\client\mqttv3\internal\ConnectActionListener.java:71: error: cannot find symbol

    [javac]     this.originalMqttVersion = options.getMqttVersion();

    [javac]                                       ^

    [javac]   symbol:   method getMqttVersion()

    [javac]   location: variable options of type MqttConnectOptions

    [javac] C:\Data\mqtt\org.eclipse.paho.mqtt.java-1.0.0\org.eclipse.paho.jmeclient\org.eclipse.paho.jmeclient.mqttv3\target\work\src\java\org\eclipse\paho\client\mqttv3\internal\ConnectActionListener.java:80: error: cannot find symbol

    [javac]             if (originalMqttVersion == MqttConnectOptions.MQTT_VERSION_DEFAULT) {

    [javac]                                                          ^

    [javac]   symbol:   variable MQTT_VERSION_DEFAULT

    [javac]   location: class MqttConnectOptions

    [javac] C:\Data\mqtt\org.eclipse.paho.mqtt.java-1.0.0\org.eclipse.paho.jmeclient\org.eclipse.paho.jmeclient.mqttv3\target\work\src\java\org\eclipse\paho\client\mqttv3\internal\ConnectActionListener.java:81: error: cannot find symbol

    [javac]       options.setMqttVersion(MqttConnectOptions.MQTT_VERSION_DEFAULT);

    [javac]                                                ^

    [javac]   symbol:   variable MQTT_VERSION_DEFAULT

    [javac]   location: class MqttConnectOptions

    [javac] C:\Data\mqtt\org.eclipse.paho.mqtt.java-1.0.0\org.eclipse.paho.jmeclient\org.eclipse.paho.jmeclient.mqttv3\target\work\src\java\org\eclipse\paho\client\mqttv3\internal\ConnectActionListener.java:104: error: cannot find symbol

    [javac]     if ((index + 1) < numberOfURIs || (originalMqttVersion == MqttConnectOptions.MQTT_VERSION_DEFAULT && options.getMqttVersion() == MqttConnectOptions.MQTT_VERSION_3_1_1)) {

    [javac]                                                                                 ^

    [javac]   symbol:   variable MQTT_VERSION_DEFAULT

    [javac]   location: class MqttConnectOptions

    [javac] C:\Data\mqtt\org.eclipse.paho.mqtt.java-1.0.0\org.eclipse.paho.jmeclient\org.eclipse.paho.jmeclient.mqttv3\target\work\src\java\org\eclipse\paho\client\mqttv3\internal\ConnectActionListener.java:104: error: cannot find symbol

    [javac]     if ((index + 1) < numberOfURIs || (originalMqttVersion == MqttConnectOptions.MQTT_VERSION_DEFAULT && options.getMqttVersion() == MqttConnectOptions.MQTT_VERSION_3_1_1)) {

    [javac]                                                                                                                 ^

    [javac]   symbol:   method getMqttVersion()

    [javac]   location: variable options of type MqttConnectOptions

    [javac] C:\Data\mqtt\org.eclipse.paho.mqtt.java-1.0.0\org.eclipse.paho.jmeclient\org.eclipse.paho.jmeclient.mqttv3\target\work\src\java\org\eclipse\paho\client\mqttv3\internal\ConnectActionListener.java:104: error: cannot find symbol

    [javac]     if ((index + 1) < numberOfURIs || (originalMqttVersion == MqttConnectOptions.MQTT_VERSION_DEFAULT && options.getMqttVersion() == MqttConnectOptions.MQTT_VERSION_3_1_1)) {

    [javac]                                                                                                                                                       ^

    [javac]   symbol:   variable MQTT_VERSION_3_1_1

    [javac]   location: class MqttConnectOptions

    [javac] C:\Data\mqtt\org.eclipse.paho.mqtt.java-1.0.0\org.eclipse.paho.jmeclient\org.eclipse.paho.jmeclient.mqttv3\target\work\src\java\org\eclipse\paho\client\mqttv3\internal\ConnectActionListener.java:106: error: cannot find symbol

    [javac]       if (originalMqttVersion == MqttConnectOptions.MQTT_VERSION_DEFAULT) {

    [javac]                                                    ^

    [javac]   symbol:   variable MQTT_VERSION_DEFAULT

    [javac]   location: class MqttConnectOptions

    [javac] C:\Data\mqtt\org.eclipse.paho.mqtt.java-1.0.0\org.eclipse.paho.jmeclient\org.eclipse.paho.jmeclient.mqttv3\target\work\src\java\org\eclipse\paho\client\mqttv3\internal\ConnectActionListener.java:107: error: cannot find symbol

    [javac]         if (options.getMqttVersion() == MqttConnectOptions.MQTT_VERSION_3_1_1) {

    [javac]                    ^

    [javac]   symbol:   method getMqttVersion()

    [javac]   location: variable options of type MqttConnectOptions

    [javac] C:\Data\mqtt\org.eclipse.paho.mqtt.java-1.0.0\org.eclipse.paho.jmeclient\org.eclipse.paho.jmeclient.mqttv3\target\work\src\java\org\eclipse\paho\client\mqttv3\internal\ConnectActionListener.java:107: error: cannot find symbol

    [javac]         if (options.getMqttVersion() == MqttConnectOptions.MQTT_VERSION_3_1_1) {

    [javac]                                                           ^

    [javac]   symbol:   variable MQTT_VERSION_3_1_1

    [javac]   location: class MqttConnectOptions

    [javac] C:\Data\mqtt\org.eclipse.paho.mqtt.java-1.0.0\org.eclipse.paho.jmeclient\org.eclipse.paho.jmeclient.mqttv3\target\work\src\java\org\eclipse\paho\client\mqttv3\internal\ConnectActionListener.java:108: error: cannot find symbol

    [javac]           options.setMqttVersion(MqttConnectOptions.MQTT_VERSION_3_1);

    [javac]                                                    ^

    [javac]   symbol:   variable MQTT_VERSION_3_1

    [javac]   location: class MqttConnectOptions

    [javac] C:\Data\mqtt\org.eclipse.paho.mqtt.java-1.0.0\org.eclipse.paho.jmeclient\org.eclipse.paho.jmeclient.mqttv3\target\work\src\java\org\eclipse\paho\client\mqttv3\internal\ConnectActionListener.java:111: error: cannot find symbol

    [javac]           options.setMqttVersion(MqttConnectOptions.MQTT_VERSION_3_1_1);

    [javac]                                                    ^

    [javac]   symbol:   variable MQTT_VERSION_3_1_1

    [javac]   location: class MqttConnectOptions

    [javac] C:\Data\mqtt\org.eclipse.paho.mqtt.java-1.0.0\org.eclipse.paho.jmeclient\org.eclipse.paho.jmeclient.mqttv3\target\work\src\java\org\eclipse\paho\client\mqttv3\internal\ConnectActionListener.java:126: error: cannot find symbol

    [javac]       if (originalMqttVersion == MqttConnectOptions.MQTT_VERSION_DEFAULT) {

    [javac]                                                    ^

    [javac]   symbol:   variable MQTT_VERSION_DEFAULT

    [javac]   location: class MqttConnectOptions

    [javac] C:\Data\mqtt\org.eclipse.paho.mqtt.java-1.0.0\org.eclipse.paho.jmeclient\org.eclipse.paho.jmeclient.mqttv3\target\work\src\java\org\eclipse\paho\client\mqttv3\internal\ConnectActionListener.java:127: error: cannot find symbol

    [javac]              options.setMqttVersion(MqttConnectOptions.MQTT_VERSION_DEFAULT);

    [javac]                                                       ^

    [javac]   symbol:   variable MQTT_VERSION_DEFAULT

    [javac]   location: class MqttConnectOptions

    [javac] C:\Data\mqtt\org.eclipse.paho.mqtt.java-1.0.0\org.eclipse.paho.jmeclient\org.eclipse.paho.jmeclient.mqttv3\target\work\src\java\org\eclipse\paho\client\mqttv3\internal\ConnectActionListener.java:161: error: cannot find symbol

    [javac]     if (options.getMqttVersion() == MqttConnectOptions.MQTT_VERSION_DEFAULT) {

    [javac]                ^

    [javac]   symbol:   method getMqttVersion()

    [javac]   location: variable options of type MqttConnectOptions

    [javac] C:\Data\mqtt\org.eclipse.paho.mqtt.java-1.0.0\org.eclipse.paho.jmeclient\org.eclipse.paho.jmeclient.mqttv3\target\work\src\java\org\eclipse\paho\client\mqttv3\internal\ConnectActionListener.java:161: error: cannot find symbol

    [javac]     if (options.getMqttVersion() == MqttConnectOptions.MQTT_VERSION_DEFAULT) {

    [javac]                                                       ^

    [javac]   symbol:   variable MQTT_VERSION_DEFAULT

    [javac]   location: class MqttConnectOptions

    [javac] C:\Data\mqtt\org.eclipse.paho.mqtt.java-1.0.0\org.eclipse.paho.jmeclient\org.eclipse.paho.jmeclient.mqttv3\target\work\src\java\org\eclipse\paho\client\mqttv3\internal\ConnectActionListener.java:162: error: cannot find symbol

    [javac]       options.setMqttVersion(MqttConnectOptions.MQTT_VERSION_3_1_1);

    [javac]                                                ^

    [javac]   symbol:   variable MQTT_VERSION_3_1_1

    [javac]   location: class MqttConnectOptions

    [javac] Note: Some messages have been simplified; recompile with -Xdiags:verbose to get full output

    [javac] 37 errors

    [javac] 4 warnings



_______________________________________________
paho-dev mailing list
paho-dev@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/paho-dev

--
Ian Craggs
icraggs@xxxxxxxxxx                 IBM United Kingdom
Committer on Paho, Mosquitto

_______________________________________________ paho-dev mailing list paho-dev@xxxxxxxxxxx To change your delivery options, retrieve your password, or unsubscribe from this list, visit https://dev.eclipse.org/mailman/listinfo/paho-dev


_______________________________________________
paho-dev mailing list
paho-dev@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/paho-dev

--
Ian Craggs
icraggs@xxxxxxxxxx                 IBM United Kingdom
Committer on Paho, Mosquitto

_______________________________________________ paho-dev mailing list paho-dev@xxxxxxxxxxx To change your delivery options, retrieve your password, or unsubscribe from this list, visit https://dev.eclipse.org/mailman/listinfo/paho-dev

Back to the top