Eclipse not picking up Maven attached source on debug

后端 未结 8 541
礼貌的吻别
礼貌的吻别 2021-01-03 21:24

I\'ve downloaded the source for all the Maven JARs in my buildpath using Maven->Download Sources and mvn eclipse:eclipse -DdownloadSources=true, which worked! W

8条回答
  •  天命终不由人
    2021-01-03 21:42

    Window->Preferences->JBoss Tools->Source Lookup

    make sure you have check "Automatically add the JBoss Maven source container to all JBoss As launch configurations". and under "Automatically configure the Java Source Attachment", choose "Always".

    this helps myself out of the problem.

提交回复
热议问题