Uploaded image for project: 'Tuscany'
  1. Tuscany
  2. TUSCANY-2659

Fixes for the implementation-notification sample

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • Java-SCA-1.x
    • Java SCA Samples
    • None
    • Patch Available

    Description

      "ant run" fails with the following stack trace:
      [java] java.lang.NoClassDefFoundError: notification/TrafficAdvisoryClient
      [java] Caused by: java.lang.ClassNotFoundException:
      notification.TrafficAdvisoryClient
      [java] at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
      [java] at java.security.AccessController.doPrivileged(Native Method)
      [java] at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
      [java] at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
      [java] at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:276)
      [java] at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
      [java] at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
      This is caused by the jar file in the target directory not matching the
      name in the build.xml file. The target directory jar has a "-1.3.2" suffix
      in its name and the build.xml file doesn't use this suffix. I believe the
      name in build.xml should be used, as this is consistent with how other
      sample jars are named.

      Attachments

        Activity

          People

            dchauhan Dhaval Chauhan K.
            dchauhan Dhaval Chauhan K.
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: