MyEclipse中User Library和Referenced Libraries

    在做struts框架程序开发式,web project中导入struts相应的jar包时,涉及到User Library和Referenced Libraries,现总结如下:

    MyEclipse中有两种常用的添加引用的jar包的方法,一是添加Referenced Library,选中项目,右键->import导入,或者直接向WebRoot->WEB-INF->lib中复制粘贴相应jar包,缺点是下次添加同样的jar包时,需重新引入,工作重复。二是添加User Library,选中工程右键->build path->Add Libraries...,选中User Library->next,设置要引入的library,

add jars,最后完成确定。

    对于package Exploer中JRE System Library,J2EE Libraries和Referenced Libraries的显示,通过packa。e Exploer窗口右边向下三角形,按下->filters->select the element to exclude from the view : 进行设置.

MyEclipse中User Library和Referenced Libraries_第1张图片

你可能感兴趣的:(MyEclipse中User Library和Referenced Libraries)