IDEA startup project error Error running 'XXXApplication': No jdk for module 'XXX'

1. Errors

Error running …: No jdk for module …

Two, the solution

Go to File>Project Structure...>Modules.

Add JDK to Dependencies

 Click Apply, OK

Guess you like

Origin blog.csdn.net/bobocqu/article/details/127300206