The main method cannot be executed after the idea imports the project

 

  

Right-click, can't run/debug out. The project is divided into multiple mouel modules, and many modules are lost in the idea after they come in (I don't know the reason for the time being)

All we need to do is add the missing module

ctrl+alt+shift+s shortcut key or click file

You can check that the module display is incomplete and add click + sign == "Import Module and then it can run normally.

Guess you like

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