Menu

Exception on createMsnMessenger(...)

Help
Christophe
2007-01-15
2013-04-29
  • Christophe

    Christophe - 2007-01-15

    Hello,

    I've got the following exception :

    Exception in thread "main" java.lang.NoClassDefFoundError: net/sf/cindy/SessionListener
        at net.sf.jml.impl.MsnMessengerFactory.createMsnMessenger(MsnMessengerFactory.java:44)

    when I run :

    messenger = MsnMessengerFactory.createMsnMessenger("xxxx", "xxxx");

    I didn't found the class net.sf.cindy.SessionListener on jml-1.0b1.jar, so may be there is another jar ??

    regards,
    Christophe

     
    • Ian

      Ian - 2007-01-17

      Your classpath is not in order. The cindy.jar is missing. Download the jml-src-1.0b1-with-dependencies.zip from the download area and use the cindy.jar in your classpath.

      Sincerelly, Ian

       
    • Christophe

      Christophe - 2007-01-17

      it works fine now !!
      sorry for the trouble.

      regards,
      Christophe

       

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.