eclipse debugger: attaching source-code of maven dependencies?

前端 未结 4 1162
时光取名叫无心
时光取名叫无心 2021-02-01 20:48

I\'d like to use the source code of maven-managed dependencies when debugging our webapp in myEclipse 8.

I have managed to attach the sources to the libraries in the \"M

4条回答
  •  予麋鹿
    予麋鹿 (楼主)
    2021-02-01 21:30

    Please do the following steps in Eclipse IDE(Tested with Version: 3.5.2),

    1. In Package Explorer, Right Click on the Project which integrated with Maven container.
    2. Select Maven 2 and then select "Fetch Source JARs". The above action wil fetch sources of all the 3rd party jars present in the Maven Classpath.

    Regards, Rajesh.

提交回复
热议问题