ActiveMQ Apollo
  1. ActiveMQ Apollo
  2. APLO-138

examples: java readme instructions are incorrect

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.0
    • Component/s: apollo-distro
    • Labels:
      None
    • Environment:
      1.0 rc

      Description

      maven version in java example needs update. readme.md has the correct info in there to match a 1.0 release.

      gtmbp:java gtully$ java -cp target/example-1.0-SNAPSHOT.jar example.Listener
      Exception in thread "main" java.lang.NoClassDefFoundError: example/Listener
      Caused by: java.lang.ClassNotFoundException: example.Listener
      at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
      at java.security.AccessController.doPrivileged(Native Method)
      at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
      at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
      at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
      at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
      gtmbp:java gtully$ java -cp target/example-0.1-SNAPSHOT.jar example.Listener
      Waiting for messages...

        Activity

        No work has yet been logged on this issue.

          People

          • Assignee:
            Hiram Chirino
            Reporter:
            Gary Tully
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development