Import external packages eclipse can not view the corresponding source code or Javadoc into the pit Guide

Import external packages eclipse can not view the corresponding source code or Javadoc into the pit Guide

This error because, although you import the .jar package, but is not configured corresponding Javadoc or source path, so I can not see the source code and the corresponding API in the editor. Next we work together to solve this problem. . .

  1. Right-click on the project name → New → Folder → file name written lib → Click Finish
  2. Then you download the jar package, copy paste into this lib folder
  3. Right-click lib source package build path → → added to build path, automatically generates a "reference library"
  4. Right-click the "reference library" in a jar build path → → → tap path configured build Javadoc position :( no) edit → (E) → fill path at a position corresponding to FIG bis (ensure there installation package shown in Figure III two files) → click the verification (If there is shown in Figure III, description has been successful). . Next, configure the source path.
    (Figure 1)
    Figure I
    (Figure 2)
    Figure II
    (Figure 3)
    Figure III
    (Figure 4)
    Figure IV

  5. In view of a click connection :( no source code) → → Select Edit external position (X-) → Select package corresponding to a position in the path of the carrier (if your package placed in the workspace is selected workspace location (K), Procedure same) click OK → → → applications and closing applications → → refresh or restart successfully
    (Figure 5)
    Figure V

Guess you like

Origin www.cnblogs.com/ccbTony/p/11346507.html