如果是用idea打开新git clone的代码,编译通过后,运行代码, 发现报错找不到或无法加载主类 com.xxx.xxx.xx 在源码目录上点击右键,然后找到Mark directory as->source root