Uploaded image for project: 'Infinispan'
  1. Infinispan
  2. ISPN-3495

RHQ plugin - compilation failed on Windows env.

    XMLWordPrintable

Details

    Description

      While building the RHQ plugin on Windows environment with JDK 6, the following error appears:

      ----------------------------
      [INFO] --- maven-compiler-plugin:3.0-redhat-1:compile (default-compile) @ infinispan-rhq-plugin ---
      [INFO] Changes detected - recompiling the module!
      [INFO] Compiling 5 source files to W:\workspace\edg-60-ispn-testsuite-windows\c0ce8123\infinispan\rhq-plugin\target\classes
      An exception has occurred in the compiler (1.6.0_45). 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.
      com.sun.tools.javac.code.Symbol$CompletionFailure: class file for org.hibernate.annotations.CascadeType not found
      [INFO] -------------------------------------------------------------
      [WARNING] COMPILATION WARNING : 
      [INFO] -------------------------------------------------------------
      [WARNING] /w:/workspace/edg-60-ispn-testsuite-windows/c0ce8123/private-maven-repo/org/rhq/rhq-core-domain/4.4.0.JON310GA/rhq-core-domain-4.4.0.JON310GA.jar!org/rhq/core/domain/configuration/Configuration.class: org\rhq\core\domain\configuration\Configuration.class(org\rhq\core\domain\configuration:Configuration.class): warning: Cannot find annotation method 'value()' in type 'org.hibernate.annotations.Cascade': class file for org.hibernate.annotations.Cascade not found
      [INFO] 1 warning
      [INFO] -------------------------------------------------------------
      

      Attachments

        Activity

          People

            mircea.markus Mircea Markus (Inactive)
            amanukya@redhat.com Anna Manukyan
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: