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.  [ 2 posts ] 
Author Message
 Post subject: hibernate junitreport error
PostPosted: Tue Jan 17, 2006 8:51 pm 
Newbie

Joined: Mon Jan 16, 2006 11:36 pm
Posts: 4
I'm new to hibernate so this maybe an easy one. I'm trying to get the standard test going with hibernate.

I run this on FreeBSD but shouldn't be an issue, I have antlr installed 2.7.5 and the .jar files are in the lib directory.

Here is the error I get:

$ ant junitreport
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:

cleantestdb:

init:
[echo] Build Hibernate-3.1 (2006-01-18 11:47:12)
[echo] JDK version: 1.4

init.antlr:

antlr:
[antlrtask] Exception in thread "main" java.lang.NoClassDefFoundError: antlr/Tool

BUILD FAILED
/storage/livedata/pais/1Design/hibernate/hibernate-3.1/build.xml:178: ANTLR returned: 1

Total time: 2 seconds


What else should I check or do?


Top
 Profile  
 
 Post subject: Needs to be added to Ant lib directory
PostPosted: Sat May 13, 2006 8:42 pm 
Newbie

Joined: Tue Oct 25, 2005 5:00 pm
Posts: 3
Location: Long Beach, CA
Copy your antlr lib (e.g. antlr-2.7.6.jar for hibernate 3.2) into the lib directory for your Ant installation. This is similar to the error you'll find discussed on this forum for "ant eg", where you need to copy the junit.jar lib up to the ant lib directory.

_________________
Thx,
Rick


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 2 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:
© Copyright 2014, Red Hat Inc. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc.