3 Replies Latest reply on Mar 3, 2017 12:04 AM by rsagiraj RSS
    rsagiraj Newbie

    Getting Exception while trying to connect ThingWorx through Java SDK

    I have downloaded TW_Download_Java SDK.zip and trying to execute SimpleClient.java with my ThingWorx, but got below exception:

     

    Exception in thread "main" java.lang.NoSuchMethodError: org.slf4j.helpers.MessageFormatter.arrayFormat(Ljava/lang/String;[Ljava/lang/Object;)Lorg/slf4j/helpers/FormattingTuple;

      at ch.qos.logback.classic.spi.LoggingEvent.<init>(LoggingEvent.java:115)

      at ch.qos.logback.classic.Logger.buildLoggingEventAndAppend(Logger.java:439)

      at ch.qos.logback.classic.Logger.filterAndLog_0_Or3Plus(Logger.java:395)

      at ch.qos.logback.classic.Logger.info(Logger.java:599)

      at com.thingworx.communications.client.processor.ClientMessageProcessor.<init>(ClientMessageProcessor.java:62)

      at com.thingworx.communications.client.BaseClient.initializeMessageProcessor(BaseClient.java:197)

      at com.thingworx.communications.client.BaseClient.initialize(BaseClient.java:180)

      at com.thingworx.communications.client.BaseClient.<init>(BaseClient.java:119)

      at com.thingworx.communications.client.ConnectedThingClient.<init>(ConnectedThingClient.java:97)

      at com.thingworx.communications.client.ConnectedThingClient.<init>(ConnectedThingClient.java:84)

      at com.thingworx.sdk.simple.SimpleClient.<init>(SimpleClient.java:25)

      at com.thingworx.sdk.simple.SimpleClient.main(SimpleClient.java:49)

     

    please help me