You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@activemq.apache.org by "Hiram Chirino (Updated) (JIRA)" <ji...@apache.org> on 2012/02/13 22:24:59 UTC

[jira] [Updated] (APLO-138) examples: java readme instructions are incorrect

     [ https://issues.apache.org/jira/browse/APLO-138?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Hiram Chirino updated APLO-138:
-------------------------------

    Affects Version/s:     (was: 1.0)
    
> examples: java readme instructions are incorrect
> ------------------------------------------------
>
>                 Key: APLO-138
>                 URL: https://issues.apache.org/jira/browse/APLO-138
>             Project: ActiveMQ Apollo
>          Issue Type: Bug
>          Components: apollo-distro
>         Environment: 1.0 rc
>            Reporter: Gary Tully
>            Assignee: Hiram Chirino
>             Fix For: 1.0
>
>
> 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...

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira