Results 1 to 2 of 2
  1. #1
    Senior Member
    Join Date
    Dec 2019

    Angry lightstreamer client throws exception

    I'm using the latest version of the lightstreamer server which is 7.2.1, and the latest Java SE Client SDK which is version 4.3.5,
    when I try to create an instance of LightstreamerClient

    myClient = new LightstreamerClient("", "");

    I'm getting a strange exception says:
    ​"Exception in thread "Prices Connector Thread" java.lang.NoClassDefFoundError: com/lightstreamer/log/Logger" Caused by: java.lang.ClassNotFoundException: com.lightstreamer.log.Logger
    I have added the required library to my project (ls-javase-client-4.3.5.jar), and I have opened all jar files to check if this class is available but I didn't find any class.
    Any help????

  2. #2
    Join Date
    Feb 2012
    You need to add also this dependency to your project: com.lightstreamer:ls-log-adapter-java:1.0.2 (
    If you use a common build tool (e.g. Gradle, Ivy, etc.) they take care of all the dependencies but if you compile your project manually you need to gather the necessary jars yourself.




Similar Threads

  1. lightstreamer push server exception
    By engcoder in forum Adapter SDKs
    Replies: 7
    Last Post: November 17th, 2014, 03:43 PM
  2. Replies: 2
    Last Post: January 18th, 2013, 03:31 PM
  3. itemUpdate.getNewValue throws strange exception
    By mnenchev in forum Client SDKs
    Replies: 1
    Last Post: October 28th, 2010, 10:36 AM
  4. DataProviderServer exception
    By ap7256 in forum Adapter SDKs
    Replies: 2
    Last Post: October 18th, 2007, 11:15 AM


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
All times are GMT +1. The time now is 06:18 PM.