How to debug the use of maven aggregation project

Under normal circumstances, the maven aggregation project will make an error when using debug, because there is no source code, the code and breakpoint lines will not be displayed.

Do the following:

By default, there is only the default default folder under the source, click remove to delete (here is the screenshot after I added it)

Click add to select java project

The source code of the project you want to add will be displayed 

After adding, when calling debug, the success is as follows

 

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=324954733&siteId=291194637