Hibernate version:
Annotations: Version: 3.2.0 CR1
Core: version 3.2 cr2
EntityManager: Version: 3.2.0.CR1
Hi,
A class, say MyPerson.java has no dependency to JPA but has a dependency to another class PersonPOJO which has dependency to JPA.
PersonPOJO is compiled separately. MyPerson is then compiled but won't compile unless JPA / Hibernate jars are on its classpath even though it has no dependencies to JPA / Hibernate. I get:
Code:
An exception has occurred in the compiler (1.5.0_11). 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: file javax\persistence\Temporal.class not found
Before I chase up with Sun, I was just wondering has anyone here experienced something similar.
Note, I can't update to the a GA release as there is another issue there.