. Advertisement .
..3..
. Advertisement .
..4..
When I attempt to build my project, I receive an error message: it is indirectly referenced from required.class files.
I searched online for a workaround, but was unsuccessful. Anyone has suggestions about how to solve this issue? Thanks for your assistance in advance!
The cause:
You are about to utilize a class that calls another class, which in turn calls more classes. There could be many layers to this relationship. The aforesaid error will occur during this call because a specific class’s package is missing.
Solution: To fix the problem “it is indirectly referenced from required.class files”, you need to add the lacking package to the classpath.