In the case when there are library and dependency errors in java files or in any xml configuration, here is how to the fix issues when using ant+ivy.
First is to look for the ivy.xml files under the libraries folder. Then, highlight all ivy.xml files , right click and select “resolve”. Ivy will then retrieve and resolve the libraries and dependencies by using an eclipse process, which will take several minutes. After the process has ended, check if the errors still exist. In some cases, this basic troubleshooting is the simple solution.
Apache Ant is a Java build script, which is similar / or a competitor to Maven. The Ant build scripts do not have the library dependency download ( from the internet ) function that Maven has, but with Ivy, Ant can now have the library dependency dowload function.
See the sample screenshot of the ivy.xml files