解决方法:
1.右击项目进入Properties--》JAva Build Path --》Source
2.选择对应的目录--》 勾选下方Allow output folders for source folders
3.双击output folder 设置上方的output folder路径