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: ToResolve org.hibernate.tool.ant.HibernateToolTask cantBfnd
PostPosted: Mon Jun 11, 2007 7:16 am 
Newbie

Joined: Mon Jun 11, 2007 6:54 am
Posts: 1
Location: India-Bangalore
Aim:
To Resolve 'taskdef class org.hibernate.tool.ant.HibernateToolTask cannot be found'. in eclipse IDE while trying to build a file through ANT.

Root Cause: It is an Editor refresh issue only.

Assumptions:
- Using Eclipse IDE with all proper settings
- Hibernate jar files added in classpath of project
- Jar files present in Lib directory

To Resolve Manually:
- Just right click on Build.xml file in eclipse project -> select 'Run As' -> click 'Ant Build...'
- You will get a popup containing (main, refresh, target, classpath...) tabs.
- Click on Classpath tab -> keep the control on User Entries
- Try to add (hibernate3.jar & hibernate-tools.jar) explicity either by clicking on 'Add Jars' / 'Add External Jars'.
- Click apply & Run.
- It should work fine.(later if you remove this also it will work fine).



Need help with Hibernate? Read this first:
http://www.hibernate.org/ForumMailingli ... AskForHelp

Problems with Session and transaction handling?
Read this: http://hibernate.org/42.html[/img]


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.