Eclipse Outline View is empty

前端 未结 16 985
轮回少年
轮回少年 2021-02-04 08:15

A simple one today. My Outline view in eclipse does not show me any methods or fields anymore. I have selected the few options that are available in the outline vie

16条回答
  •  逝去的感伤
    2021-02-04 08:57

    I had the same issue with eclipse oxygen today and the reason was the missing scala library in the scala project. the problem is reported in the eclipse problems tab: "Unable to find a scala library. Please add the scala container or a scala library jar to the build path."

    The solution for me, that let the outline to be filled as well, has been:

    • on the eclipse Project menu, select Properties
    • select the Java Build Path item and then the Libraries path
    • press the Add Library button, then select Scala Library

提交回复
热议问题