Eclipse中导入Apache Commons Logging的commons-logging-1.2.jar文件

在Eclipse中导入commons-logging-1.2.jar文件的步骤如下:

  1. 首先到https://commons.apache.org/proper/commons-logging/download_logging.cgi下载commons-logging-1.2的压缩包
  2. 将第一步中所下载的压缩包解压,找到名为commons-logging-1.2.jar的文件
  3. 打开Eclipse选中Project,进入Properties

     

    4. 点击Java Build Path ,再点击右侧Libraries的Add External JARs选择需要添加的.jar文件

  5. 在点击Libraries右侧的Order and Export选中添加的.jar文件,最后点击Apply and Close即可

Tips:

其他类似添加外部.jar文件的步骤与以上类似均可参考

发布了229 篇原创文章 · 获赞 17 · 访问量 1万+

猜你喜欢

转载自blog.csdn.net/qq_40073459/article/details/103080070