What's the solution if import org. apache cannot be resolved?

698    Asked by AnilJha in Cyber Security , Asked on Feb 11, 2022

 I am trying to do the following import in java project: import org.apache.commons.io.FileUtils;This displays following error message in eclipse: The import org.apache.commons.io cannot be resolved

How can I resolve this? 

Answered by Anisha Dalal

In the case of import org. apache cannot be resolved, you need to download the "org.apache.commons.io.jar" jar file. After that you have to add this downloaded jar in project lib and import it in class, it will work.


Your Answer

Interviews

Parent Categories