-->
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: compile errors 2.1 rc1
PostPosted: Tue Dec 09, 2003 10:55 am 
Newbie

Joined: Tue Oct 28, 2003 8:00 am
Posts: 16
Location: Karlsruhe, Germany
hi,

I have download 2.1 rc1 and tried to ant build but get
error down below.
With 2.1 beta 6 build works without problems.

can someone give me some help ?

thanks.



Buildfile: build.xml
[taskdef] Could not load definitions from resource clovertasks. It could not be found.

splash:

init:
[echo] Build Hibernate-2.1 (2003-12-09 03:21:17)

compile:
[javac] Compiling 4 source files to C:\opt\hibernate-2.1\build

[javac] C:\opt\hibernate-2.1\src\net\sf\hibernate\mapping\Association.java:6: no interface expected here
[javac] public abstract class Association extends Value implements Fetchable {
[javac] ^
[javac] C:\opt\hibernate-2.1\src\net\sf\hibernate\mapping\CollectionValue.java:9: no interface expected here
[javac] public class CollectionValue extends Value {
[javac] ^
[javac] C:\opt\hibernate-2.1\src\net\sf\hibernate\mapping\IntegerValue.java:7: no interface expected here
[javac] public class IntegerValue extends Value {
[javac] ^
[javac] C:\opt\hibernate-2.1\src\net\sf\hibernate\cache\CacheTest.java:63: release(java.lang.Object,net.sf.hibernate.cache.CacheConcurrencyStrategy.SoftLock) in net.sf.hibernate.cache.CacheConcurrencyStrategy cannot be applied to (java.lang.String)
[javac] ccs.release("foo");
[javac] ^
[javac] C:\opt\hibernate-2.1\src\net\sf\hibernate\cache\CacheTest.java:101: release(java.lang.Object,net.sf.hibernate.cache.CacheConcurrencyStrategy.SoftLock) in net.sf.hibernate.cache.CacheConcurrencyStrategy cannot be applied to (java.lang.String)
[javac] ccs.release("foo");
[javac] ^
[javac] C:\opt\hibernate-2.1\src\net\sf\hibernate\cache\CacheTest.java:112: release(java.lang.Object,net.sf.hibernate.cache.CacheConcurrencyStrategy.SoftLock) in net.sf.hibernate.cache.CacheConcurrencyStrategy cannot be applied to (java.lang.String)
[javac] ccs.release("foo");
[javac] ^
[javac] 6 errors

BUILD FAILED
file:C:/opt/hibernate-2.1/build.xml:151: Compile failed; see the compiler error output for details.


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.