出现The folder is already a source folder 右键build path -> configure build path -> source ,选择 src/main/java、src/test/java删除,然后再新建。