最新的 eclipse Mars 不用装 jd-eclipse 就反编译看到 jar 包的源码. 结果在debug的时候, 死活看不到源码. 找了好长时间, 缘由是maven项目的jar包是动态加载的. 安装这个插件就行了:git
https://github.com/ifedorenko/com.ifedorenko.m2e.sourcelookupgithub
eclipse插件update安装地址:eclipse
http://ifedorenko.github.io/m2e-extras/maven
参考:插件