如何知道eclipse中使用的jar文件 [英] How to know the jar files being used in eclipse
问题描述
我有一个使用apache poi jar的java项目。
I have a java project which uses apache poi jars.
在eclipse引用的库中,有两个版本的poi jar可用。 poi3.5和poi3.7。
In eclipse referenced libraries two versions of poi jar is available. poi3.5 and poi3.7.
在java代码中使用
import org.apache.poi.hssf.usermodel.HSSFRow;
在eclipse中如何知道它将引用哪个版本的jar文件。
如果类路径中有两个版本的相同jar文件可用,那将需要哪一个?
In eclipse how to know which version of the jar file it will refer. IF there are two versions of same jar file available in class path, which one will it take?
编辑: -
在eclipse中,我看到有人在导入语句上使用键盘快捷键来显示正确的罐子。任何人都知道那条捷径是什么?
In eclipse i had seen someone using a keyboard shortcut over that import statements to show the correct jar. Any one knows what that shortcut is?
推荐答案
我认为你正在寻找捷径 ctrl + shift + t
选择import statement&使用上面的快捷方式。
I think you are looking for shortcut ctrl+shift+t Select import statement & use above shortcut.
这篇关于如何知道eclipse中使用的jar文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!