[ https://issues.apache.org/jira/browse/APLO-138?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Hiram Chirino resolved APLO-138. -------------------------------- Resolution: Fixed > 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 > Affects Versions: 1.0 > Environment: 1.0 rc > Reporter: Gary Tully > Assignee: Hiram Chirino > Fix For: 1.1 > > > 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