-->
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.  [ 3 posts ] 
Author Message
 Post subject: Annotations 3.1 beta 7 does not compile
PostPosted: Sun Jan 08, 2006 1:19 pm 
Newbie

Joined: Sat Jan 07, 2006 10:33 am
Posts: 18
Location: New York NY
Code:
$ ant
Buildfile: build.xml
  [taskdef] Could not load definitions from resource clovertasks. It could not be found.

init:
     [echo] Build Hibernate Annotations-3.1beta7 (2006-01-08 12:16:30)
    [mkdir] Created dir: /usr/share/java/hibernate-annotations-3.1beta7/build/classes
     [copy] Copying 2 files to /usr/share/java/hibernate-annotations-3.1beta7/build

compile:
    [javac] Compiling 127 source files to /usr/share/java/hibernate-annotations-3.1beta7/build/classes
    [javac] /usr/share/java/hibernate-annotations-3.1beta7/src/org/hibernate/validator/ClassValidator.java:34: cannot find symbol
    [javac] symbol  : class IdentitySet
    [javac] location: package org.hibernate.util
    [javac] import org.hibernate.util.IdentitySet;
    [javac]                           ^
    [javac] /usr/share/java/hibernate-annotations-3.1beta7/src/org/hibernate/cfg/AnnotationBinder.java:736: cannot find symbol
    [javac] symbol  : constructor FilterDefinition(java.lang.String,java.lang.String,java.util.Map<java.lang.String,org.hibernate.type.Type>)
    [javac] location: class org.hibernate.engine.FilterDefinition
    [javac]             FilterDefinition def = new FilterDefinition( defAnn.name(), defAnn.defaultCondition(), params );
    [javac]                                        ^
    [javac] /usr/share/java/hibernate-annotations-3.1beta7/src/org/hibernate/validator/ClassValidator.java:216: cannot find symbol
    [javac] symbol  : class IdentitySet
    [javac] location: class org.hibernate.validator.ClassValidator<T>
    [javac]             return this.getInvalidValues( bean, new IdentitySet() );
    [javac]                                                         ^
    [javac] 3 errors

BUILD FAILED
/usr/share/java/hibernate-annotations-3.1beta7/build.xml:40: Compile failed; see the compiler error output for details.


Top
 Profile  
 
 Post subject:
PostPosted: Thu Jan 12, 2006 2:46 pm 
Hibernate Team
Hibernate Team

Joined: Sun Sep 14, 2003 3:54 am
Posts: 7256
Location: Paris, France
you need Hibernate 3.1 final

_________________
Emmanuel


Top
 Profile  
 
 Post subject:
PostPosted: Thu Jan 12, 2006 4:07 pm 
Newbie

Joined: Sat Jan 07, 2006 10:33 am
Posts: 18
Location: New York NY
emmanuel wrote:
you need Hibernate 3.1 final

Yes, confirmed, I'm sorry, I was not actually using 3.1 final as I had thought I was.


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

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:
cron
© Copyright 2014, Red Hat Inc. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc.