搜索.jar文件eclipse [英] searching through .jar files eclipse
问题描述
我将一些java gwt项目移植到eclipse中,项目依赖于许多外部.jar文件,一些依赖项似乎是动态链接的,因此eclipse在运行ide时没有找到丢失的链接。 / p>
在运行时,我经常会遇到例外情况,例如import bar.foo.XML缺失或者某些FooBar类定义丢失,它总是需要一段时间找出这些类/库所属的.jar文件,以便将它们添加到运行路径中。
有没有快速的方法来搜索哪些.jar文件包含哪些类以及它们所依赖的其他库?
一个老人,但仍然很好,并融入了日食:
。
在Eclipse插件方面,它已不再维护,您只有 BundleclassFinder 。
在罐子里找到课程的其他(手动)方法: Java:如何知道给定类名的jar文件?
I'm porting a few java gwt projects into eclipse and the projects depends on many external .jar files, some of the dependencies seem to be dynamically linked so eclipse isn't picking up the missing links while running the ide.
At run time, I often get exceptions that say for example 'import bar.foo.XML' is missing or some FooBar class definition is missing and it always takes me a while to figure out which .jar file these classes/libraries belong to so I can add them to the run path.
Is there a quick way to search which .jar files contain what classes and what other library they depend on?
An oldie, but still good, and integrated into eclipse:
Update 2013: the project still exists in a different form as an independent app JarClassFinder.
In term of Eclipse plugin, it is no longer maintained, and you only have variant like "BundleclassFinder".
Other (manual) ways to find a class within jars: "Java: How do I know which jar file to use given a class name?"
这篇关于搜索.jar文件eclipse的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!