Referenced Libraries : 指你项目中所使用的第三方库文件集合.如果你把项目所需要的其他JAR包直接加在 项目->属性->Java Build Path -> Libraries 中的时候,MyEclipse 会自动将这些JAR包归类到一个集合中, 并取名为 Referenced Libraries , 显示在项目中.

参考博客: MyEclipse 中各种 libraries 的含义

Web工程里面导入些包,复制到WebRoot ---> WEB-INF ---> lib,referenced libraries没有出现,解决的办法如下:

  • 在Package Explorer这个窗体中,右上角有个下拉小三角,点击 ---> Filters ,在Select the elements to exclude from the view 下的复选框中,取消掉Libraries in projec前的√。

  • 如果还没有解决,可能就是没有选择Show “referenced libraries” Node选项,这个选项同样是在Package Explorer这个窗体中,点击右上角的下拉小三角出现。

狂暴的黑岩 answered 8 years, 11 months ago

Your Answer