Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[m2e-users] Source not found for referenced maven projects


When I'm remote debugging a project that has another workspace project as a dependency, I found that the project isn't added correctly to the source lookup path:

​Resulting in "Source not found" messages, and sometimes worse - sources of an irrelevant older version jar come up.

What I found is that if I uncheck "Allow output folders for source folders" in the "Java Build Path"->"Source" tab under the referenced project, I get the project added to the source lookup path correctly:

Only problem with this so far - is that the option gets reset every time I do a "Maven Update".
Anyone knows how to make it persist between Maven updates and/or has other insights or solutions to this issue?

Back to the top