Yes, that was the exact problem I have when I try to use hibernate3.0.5
The first error I resolved by downloading checkstyle-all-4.0-beta4.jar anf put this jar file in lib folder.
The second I had no clue yet. I guess it is because Hibernate 3 not stable yet.
My environment was JSDK 1.5.0_03. downloaded antlr.jar (version 2.7.5) and putting it in ant 1.6.5 lib folder, along with junit.jar (version 3.8.1)
I have this problem when I follow hibernate Day 1 task
http://www.hibernate.org/152.html
I will try an earlier version of hibernate and see if it works.
jerome wrote:
I have a similar issue:
Buildfile: build.xml
[taskdef] Could not load definitions from resource checkstyletask.properties. It could not be found.
[taskdef] Could not load definitions from resource clovertasks. It could not be found.
splash:
init:
[echo] Build Hibernate-3.0 (2005-03-25 04:51:15)
[echo] JDK version: 1.4
init.antlr:
antlr:
compile:
[javac] Compiling 313 source files to D:\temp\MSDE20~1\HIBERN~1.0\build\classes
[javac] D:\temp\MSDE20~1\HIBERN~1.0\build\gensrc\org\hibernate\hql\antlr\HqlBaseParser.java:164: cannot resolve symb
ol
[javac] symbol : method recover (antlr.RecognitionException,antlr.collections.impl.BitSet)
[javac] location: class org.hibernate.hql.antlr.HqlBaseParser
[javac] recover(ex,_tokenSet_0);
[javac] ^
[javac] D:\temp\MSDE20~1\HIBERN~1.0\build\gensrc\org\hibernate\hql\antlr\HqlBaseParser.java:188: cannot resolve symbol
[javac] symbol : method recover (antlr.RecognitionException,antlr.collections.impl.BitSet)
[javac] location: class org.hibernate.hql.antlr.HqlBaseParser
[javac] recover(ex,_tokenSet_0);
[javac] ^
[javac] D:\temp\MSDE20~1\HIBERN~1.0\build\gensrc\org\hibernate\hql\antlr\HqlBaseParser.java:212: cannot resolve symbol
[javac] symbol : method recover (antlr.RecognitionException,antlr.collections.impl.BitSet)
[javac] location: class org.hibernate.hql.antlr.HqlBaseParser
[javac] recover(ex,_tokenSet_0);
[javac] ^
[javac] D:\temp\MSDE20~1\HIBERN~1.0\build\gensrc\org\hibernate\hql\antlr\HqlBaseParser.java:236: cannot resolve symbol
.....