IDEA2020.1 is on the wrong road: there is no error in the new project Java package

When creating a new SpringBoot project, an error is reported when clicking Run.

The error is reported as shown in the figure:

Screenshot of running error report

Reason for error:

No delegation of IDE build behavior to Maven

problem solved:

File --> Settings --> Build, Execution, Deployment --> Build Tools --> Maven --> Runner, check "Delegate IDE build/run actions to Maven" at the top as shown in the figure
:
problem solved

Guess you like

Origin blog.csdn.net/Laputa_Castle/article/details/107857911