Eclipse中导入Apache Commons Logging的commons-logging-1.2.jar文件
在Eclipse中导入commons-logging-1.2.jar文件的步骤如下:
- 首先到https://commons.apache.org/proper/commons-logging/download_logging.cgi下载commons-logging-1.2的压缩包
- 将第一步中所下载的压缩包解压,找到名为commons-logging-1.2.jar的文件
- 打开Eclipse选中Project,进入Properties
4. 点击Java Build Path ,再点击右侧Libraries的Add External JARs选择需要添加的.jar文件
5. 在点击Libraries右侧的Order and Export选中添加的.jar文件,最后点击Apply and Close即可
Tips:
其他类似添加外部.jar文件的步骤与以上类似均可参考