ProductCode has ambigious import, can cause build failure on some systems

Bug #632263 reported by chris grzegorczyk
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Eucalyptus
Invalid
Undecided
chris grzegorczyk
eucalyptus (Ubuntu)
Invalid
Low
Unassigned

Bug Description

org.codehaus.groovy.control.MultipleCompilationErrorsException: startup failed:
Compile error during compilation with javac.
/home/decker/eucalyptus-2.0.0/clc/modules/msgs/src/main/java/com/eucalyptus/images/ProductCode.java:75: reference to Cache is ambiguous, both class javax.persistence.Cache in javax.persistence and class org.hibernate.annotations.Cache in org.hibernate.annotations match
@Cache( usage = CacheConcurrencyStrategy.READ_WRITE )
 ^

Remedy is to have explicit imports.

Revision history for this message
Thierry Carrez (ttx) wrote :

I think this was misfiled in ubuntu/eucalyptus and should have been filed in Eucalyptus upstream, please correct me if I'm wrong.

Chris: you mention "some systems", if that does not include Ubuntu, feel free to close the ubuntu task as Invalid.

Changed in eucalyptus (Ubuntu):
importance: Undecided → Low
status: New → Incomplete
Changed in eucalyptus (Ubuntu):
status: Incomplete → Invalid
Revision history for this message
chris grzegorczyk (chris-grze) wrote :

Sorry about that! The conflict arises due to a redefinition of {javax.persistence,org.hibernate.annotations}.Cache with geronimo. This may arise in the future, so I note the details for posterity.

cheers.

Changed in eucalyptus:
assignee: nobody → chris grzegorczyk (chris-grze)
Changed in eucalyptus:
status: New → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.