• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

How can I solve this problem

 
Ranch Hand
Posts: 138
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
When I tried to build the XML file that I have in order to get the HSQLDB interface running I got the following error:

Buildfile: build.xml

BUILD FAILED
/Users/abder-rahmanali/Desktop/Hibernate/build.xml:11: The following error occurred while executing this line:
jar:file:/System/Library/Java/Extensions/maven-ant-tasks-2.0.9.jar!/org/apache/maven/artifact/ant/antlib.xml:4: taskdef A class needed by class org.apache.maven.artifact.ant.DependenciesTask cannot be found: org/apache/tools/ant/Task



Any ideas?

Thanks.
 
author
Posts: 5856
7
Android Eclipse IDE Ubuntu
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I edited your post to remove the red text - it is not needed for emphasis (red text comes across as annoying and is difficult to read).

The problem is with line 11 in your build.xml file. If we don't see that file, how can we help? Also post the full command line you sued to run ant. You might also use the -v option and post the full output.

The error message is especially puzzling because the presumed missing class is part of Ant.
 
reply
    Bookmark Topic Watch Topic
  • New Topic