Eclipse下导入第三方jar无法调用!
巴扎黑
巴扎黑 2017-04-21 10:56:43
0
1
824

急救!Eclipse下导入第三方jar,jar中的类无法调用,也无法查看源代码。之前看网上说是添加中文语言包搞的,我这个可以排除这个原因,因为用的是原生英文版,截图在此,奇怪的是虽然无法查看类的源代码,但是Eclipse右侧却能吧类中的方法变量都显示出来,请看图!

巴扎黑
巴扎黑

reply all(1)
PHPzhong

It has nothing to do with language. The jar you quoted is compiled into a class, and the source code cannot be viewed. A general open source program jar has two packages, one of which is generally named xxx_src.jar. This is the source code package, which contains java files. Your package is a class file.

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!