"Source not found" error in debug mode (Maven project)

I can run maven by mvn jetty:run in eclipse. But if I set breakpoint and debug project, I met “Source not found” errir. I google for this issue, but the workaround does not work to me. Any hints would be appreciated.

I follow this line to run Maven archetypes project.

Hi, which IDE are you using? Eclipse? Back in the days when I still used Eclipse I used this plugin:


Hi Matti,

Thanks for reply. I will try it. I need to upgrade my eclipse first.

Updated. It works.