Results 1 to 2 of 2
  1. #1

    NoClassDefFoundError: com/lightstreamer/interfaces/metadata/MetadataControlListener

    We've been using Lightstreamer for Java for many years. We are building new Linux servers with 7.1.2, and are getting this error on startup.

    I can't find this class in the distributed Lightstreamer jars. Can someone help me find the right jar? Googling didn't help.

    13-Nov-20 18:02:42,388|DEBUG|L.init |main |Loading Adapters...
    13-Nov-20 18:02:42,390|ERROR|L.init |main |Unexpected error in configuration:
    java.lang.RuntimeException: java.lang.reflect.InvocationTargetException
    at com.lightstreamer.a.i.b(
    at com.lightstreamer.a.i.a(
    at com.lightstreamer.a.i.a(
    at com.lightstreamer.a.r.i(
    at com.lightstreamer.a.r.<init>(
    at com.lightstreamer.h.a.a(
    at com.lightstreamer.LS.main(
    Caused by: java.lang.reflect.InvocationTargetException: null
    at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl .newInstance0(Native Method)
    at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl .newInstance( )
    at java.base/jdk.internal.reflect.DelegatingConstructorAccessor Impl.newInstance(DelegatingConstructorAccessorImpl .java
    at java.base/java.lang.reflect.Constructor.newInstance(Construc
    ... 7 common frames omitted
    Caused by: java.lang.NoClassDefFoundError: com/lightstreamer/interfaces/metadata/MetadataControlListener
    ... 11 common frames omitted
    Caused by: java.lang.ClassNotFoundException: com.lightstreamer.interfaces.metadata.MetadataCont rolListener
    at java.base/ ava:471)
    at java.base/java.lang.ClassLoader.loadClass( 89)
    at java.base/java.lang.ClassLoader.loadClass( 22)
    ... 12 common frames omitted

  2. #2
    Join Date
    Jul 2006
    The MetadataControlListener class was introduced in Lightstreamer Server version 7.1.0 (as part of the java in-process SDK version 7.2.0).
    However, since Lightstreamer Server version 7.1.2, the jar that contains this class has changed place.
    Up to 7.1.1 it was Lightstreamer/lib/ls-adapter-interface.jar
    From 7.1.2, that library (now part of the java in-process SDK version 7.3.0, which has become open-source) is now included as Lightstreamer/lib/adapters/ls-adapter-inprocess-7.3.0.jar
    The launch scripts in Lightstreamer/bin/unix-like have changed to add it to the classpath.
    Perhaps you expected fewer changes in this upgrade and are still using the previous launch script?



Similar Threads

  1. import* error
    By kimi in forum Adapter SDKs
    Replies: 5
    Last Post: January 29th, 2016, 12:44 PM
  2. Replies: 3
    Last Post: July 30th, 2014, 12:23 PM
  3. Authentication with Metadata Adapter
    By stephenlam in forum Adapter SDKs
    Replies: 4
    Last Post: December 12th, 2008, 10:52 AM
  4. How to let Data and Metadata Adapters comunicate
    By CitiMan in forum Adapter SDKs
    Replies: 4
    Last Post: November 21st, 2008, 05:24 PM
  5. Replies: 2
    Last Post: March 26th, 2008, 09:50 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 03:53 AM.