最新的 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
參考:插件