您的位置:首页 > 其它

XXX.jar has no source attachment 解决方法

2018-03-07 19:32 375 查看
估计很多人在开发项目的时候会遇到这么一个问题,想看一个类的源码的时候却显示这么一句话XXX.jar has no source attachment,简单的说一下解决方法。点击Attach Source按钮 点击文件选项
1.java的基本类   rt.jar has no source attachment   解决方法: 找到你的jdk/src.zip即可解决2.struts源码   struts.jar has no source attachment   URL:  http://archive.apache.org/dist/struts/source/   解决方法:找到你下载的zip文件即可
3. hibernate 
    http://sourceforge.net/projects/hibernate/files/hibernate3/    http://sourceforge.net/projects/hibernate/files/hibernate4/ href="http://sourceforge.net/projects/hibernate/files/hibernate3/3.5.6-Final/" target=_blank>    解决方法:找到你下载的zip文件即可
4.spring  比较新的版本:https://github.com/spring-projects/spring-framework 
 3.0以前老版本: http://sourceforge.net/projects/springframework/files/springframework-2/   解决方法: 找到你下载的zip文件即可
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: 
相关文章推荐