idea 錯誤: 找不到或無法加載主類 xxx.xxx.xxxxx
JDK環境,maven項目還是ee還是web項目,是否都正常。
如果是用idea打開的話,在源碼目錄上點擊右鍵,然后找到Mark directory as->source root
看這篇:(真的是主類沒找到)
http://www.cnblogs.com/mrray1105/p/8135616.html
解決不了,看這篇:(project structure 中修改path為當前項目目錄)
https://blog.csdn.net/qq_31382921/article/details/72898134
解決不了,看這篇:(idea本身緩存問題 清理緩存重啟IDEA file-->invalidate Cache/restart)
https://blog.csdn.net/lizongbao1234567890/article/details/78120851
還是沒有解決,看這一篇:(Module must not contain source root. The root already belongs to module)
https://blog.csdn.net/angry_mills/article/details/81511130