Uploaded image for project: 'ActiveMQ Apollo (Retired)'
  1. ActiveMQ Apollo (Retired)
  2. APLO-138

examples: java readme instructions are incorrect

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 1.0
    • apollo-distro
    • None
    • 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...

      Attachments

        Activity

          People

            chirino Hiram R. Chirino
            gtully Gary Tully
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: