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缓存