异常提示: gen already exists but is not a source folder. Convert to a source folder or rename it. 错误原因: 我在导入以前的项目的时候出现了这个异常,原因是.classpath文件(这个文件在eclipse中是看不到的,必须在文件浏览器中才能看到并编辑)出错,导致eclipse不能识别我的src代码文件夹,需要通过设置来指明源码所在的文件夹. 解决办法: 右键项目,选择Properties——Jav…
Right click on the project and go to "Properties" Select "Java Build Path" on the left Open "Source" tab Click "Add Folder..." Check "gen" folder and click Ok http://stackoverflow.com/questions/6185600/and…
1. Right click on the project and go to "Properties" //鼠标右键点击项目,然后选中Properties 2. Select "Java Build Path" on the left //选择java Build Path 3. Open "Source" tab // 打开源文件的tab栏 4. Click "Add Folder..." //点击添加文件夹 …