IntelliJ IDEA : java普通文件转为类文件 解决办法: Ctrl + Alt + Shift + S 接下来去掉 Content Root, 重新添加新的 Content Root。 大功告成