In my case, I had a java project containing many subfolders, each of which contains its own src folder.
project -subfolder --src/main/java -subfolder2 --src/main/java
There were no options available when I used the option "Build path →" as described in other answers.
I needed to go to Project -> Properties -> Fac Facets and click convert to faceted project .
Then I got all the src folders added to the build path.
tareq Jul 24 '17 at 9:59 2017-07-24 09:59
source share