How can I link source to a jar package in eclipse?
问题 How can I link source to a jar package in eclipse? I am trying to add the external library ch.ntb.usb. I added the jar file to my build path, but when I tried to run the application it returned the following error: The jar file ch.ntb.usb has no source attachment. I've used JD-GUI to decompile the jar file and the source code is contained. 回答1: I doubt that you get that error when you only run the project unless you have an error in your code and eclipse debugger try to show the line of code