this compilation unit is not on the build of a java project时间:2023-03-09 18:01:02 this compilation unit is not on the build of a java project java里输入代码就出这个提示,无法写代码了。 找到觉得路径打开文件编辑就好了,不用用虚拟的目录下打开java代码进行编辑。