idea 錯誤: 找不到或沒法加載主類 xxx.xxx.xxxxxhtml
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)
web
https://blog.csdn.net/angry_mills/article/details/81511130緩存