I have noticed this many times that some imports do not work in the IDE.
I don’t remember in which puzzles they were but recently I got this error in clash of code.
I wanted to use the
StringUtils.isNumeric() method to parse numbers in a string, and imported
import org.apache.commons.lang3.StringUtils; but the IDE showed error in this import and I could not use the method.
I did not even type the import myself. I just typed the method name and the IDE inserted the import itself and still there was error importing.
How can I import such methods in the IDE?