Problem: failed to create task or type antlib:org.apache.ivy.ant:configure
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.
今天用ant下载jar包时报了这个错,后面换了个ant版本,idea默认使用1.9.4,自己下载了个1.9.0。解决了问题。如下图: