Description of problem: classes compiled against the JON remote api bundled with the downloaded cli-client will fail with the following compile error Information:An exception has occurred in the compiler (1.6.0_17). Please file a bug at the Java Developer Connection (http://java.sun.com/webapps/bugreport) after checking the Bug Parade for duplicates. Include your program and the following diagnostic in your report. Thank you. Information:com.sun.tools.javac.code.Symbol$CompletionFailure: class file for org.hibernate.annotations.CascadeType not found Information:Compilation completed with 1 error and 0 warnings Information:1 error Information:0 warnings Error:Compiler internal error. Process terminated with exit code 4 Version-Release number of selected component (if applicable):jon 2.4.1 How reproducible: Steps to Reproduce: 1. 2. 3. Actual results: Expected results: Additional info: adding JON_SERVER/jbossas/client/hibernate-annotations.jar to the projects classpath will resolve this issue.
[master 1a711ed] adds hibernate-annotations.jar to the CLI's lib dir, so you should now be able to compile custom RHQ remote clients using CLI/lib/*.jar as the compile classpath. However, if you are using Maven to build your custom client, an easier way to go would be to add a dependency on the rhq-remoting-client-api aggregator pom as follows: <dependency> <groupId>org.rhq</groupId> <artifactId>rhq-remoting-client-api</artifactId> <version>${rhq.version}</version> </dependency> That should transitively pull in all the jars that are needed by a remote client.
downloaded the rhq-remoting-cli-4.0.0-SNAPSHOT.zip file from the 4/29/2011 release. verified that the CLI jar file contains hibernate-annotations-3.2.1.jar
Bookkeeping - closing bug - fixed in recent release.