1. 方案1 1.右键点击项目,选择properties 2.在打开的对话框中选择JavaBuildPath。 3.选择Add Folder。 4.resource打钩。 2.或者直接新建resource