Lets say I have a import line in my class:
import org.apache.log4j.Logger;
How can I know from which library does it come from? Lets say I have maven folder, that contains tons of libraries.
Why?
I want to use this class/library in my other project, but I don’t know which JAR to copy.
Open type (Ctrl-Shift-T) enter
org.apache.log4j.Logger, and you’ll see which jar it belongs to (in gray).