Fixes for the implementation-notification sample
------------------------------------------------

                 Key: TUSCANY-2659
                 URL: https://issues.apache.org/jira/browse/TUSCANY-2659
             Project: Tuscany
          Issue Type: Improvement
          Components: Java SCA Samples
            Reporter: Dhaval Chauhan
            Assignee: Dhaval Chauhan


"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.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to