-->
These old forums are deprecated now and set to read-only. We are waiting for you on our new forums!
More modern, Discourse-based and with GitHub/Google/Twitter authentication built-in.

All times are UTC - 5 hours [ DST ]



Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 1 post ] 
Author Message
 Post subject: Unusual compile error.
PostPosted: Thu Jan 17, 2008 10:42 am 
Senior
Senior

Joined: Mon Jul 24, 2006 8:43 am
Posts: 160
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.


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 1 post ] 

All times are UTC - 5 hours [ DST ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
© Copyright 2014, Red Hat Inc. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc.