Attach the Source in Eclipse of a jar

前端 未结 11 1613
清歌不尽
清歌不尽 2020-11-28 06:46

I added a Student.jar into my Build Path in my eclipse like this-

Right click on the project->BuildPath->Configure Build P

11条回答
  •  自闭症患者
    2020-11-28 07:35

    This worked for me for Eclipse-Luna:

    1. Right Click on the *.jar in the Referenced Libraries folder under your project, then click on Properties
    2. Use the Java Source Attachment page to point to the Workspace location or the External location to the source code of that jar.

提交回复
热议问题