使用eclipse开发项目查看struts框架源码出现class file editor source not found

使用eclipse开发项目查看struts框架源码出现class file editor source not found

问题图片:
使用eclipse开发项目查看struts框架源码出现class file editor source not found
解决这个问题的步骤:

  1. 点击Attach Source
  2. 见到下图的界面,选择第二个External location
    使用eclipse开发项目查看struts框架源码出现class file editor source not found
  3. 选中第二个选项后,点击External File将struts-版本号-all.zip导入,点击ok,就可以在eclipse中查看源码了
    使用eclipse开发项目查看struts框架源码出现class file editor source not found