Eclipse can not view the source code file third-party jar package solution

 

 

From: https: //www.cnblogs.com/1995hxt/p/5252098.html

 

1. Open the third-party dependencies, source file shortcuts: ctrl + mouseClick

2, since we download third party jar package, such as Spring and other related dependencies and no additional download the corresponding source file, so this problem often occurs in FIG.

 

Solutions are as follows:

        1, under the jar packages are compiled .class file, so install the appropriate plugin decompile, decompile after .java file, you can view the source code.

        2, first download jadClipse jar package (decompilation plugin)

             Links: sourceforge.net/projects/jadclipse/

       3, then copied to the eclipse net.sf.jadclipse_3.3.0.jar plugins directory;

       4, and then delete the files in the configuration directory org.eclipse.update the eclipse,

       5. If your eclipse is open, click on the menu bar File-> Restart.

       6, then, from http://varaneckas.com/jad/ at this link, download jad executable file, unzip on a disk.

 

 

7, open Eclipse, prefrence, provided jad executable file path and the generated temporary file path, as shown:

 

  8, then the default settings * .class Open file type, as shown:

 

 9, and then, set * .class without source Open file type, as shown:

 

10, then press to select the class you want to view the source code, see the shortcut keys.

 

Guess you like

Origin www.cnblogs.com/yrjns/p/11069080.html