में त्रुटि build.xml
में चींटी कार्यों को चलाने के दौरान एंटी बिल्ड चलाने में विफल रहा। मैं कंसोल में निम्न त्रुटि मिला:"कार्य बनाने में विफल या एंटीलिब टाइप करें: org.apache.maven.artifact.ant: mvn" एंट
Buildfile: F:\Eclipse Projects\my_project\build.xml
[typedef] Could not load definitions from resource org/apache/maven/artifact/ant/antlib.xml. It could not be found.
BUILD FAILED
F:\my_project\build.xml:32: Problem: failed to create task or type antlib:org.apache.maven.artifact.ant:mvn
Cause: The name is undefined.
Action: Check the spelling.
Action: Check that any custom tasks/types have been declared.
Action: Check that any <presetdef>/<macrodef> declarations have taken place.
No types or tasks have been defined in this namespace yet
This appears to be an antlib declaration.
Action: Check that the implementing library exists in one of:
-F:\eclipse\plugins\org.apache.ant_1.8.3.v20120321-1730\lib
-C:\Users\Lucky\.ant\lib
-a directory added on the command line with the -lib argument
मैं ग्रहण प्लगइन का फ़ोल्डर में Maven-चींटी-कार्य जार फ़ाइल रखा जाता है और WinAnt ANT_HOME/lib निर्देशिका में है और यह भी classpath में शामिल थे। लेकिन यह मेरी समस्या का समाधान नहीं किया और this answer भी इस मुद्दे को हल नहीं कर सका।