I. The project itself is wrong
Two. Problem with JDK version
Reference URL: http://jingyan.baidu.com/article/95c9d20da3ec5fec4e756186.html
When importing a project from another place, you will often encounter Eclipse/myeclipse description Resource Path location Type Java compiler levels does not match the Vers Ion of the installed Java project facet. This problem occurs because the Eclipse/myeclipse JDK build version is inconsistent with the problematic JDK compilation version of the project!
1. Set up the JDK first, need to determine the project, Eclipse/myeclipse, the system is using the same version of the JDK, my system installed JDK is 1.7, so I put eclipse jdk into 1.7
Windows---"preference------" add JDK Path
2. Enter the windows---proferences---java--compiler settings compiled files using the format is 1.7 version (set to how many lines, as long as compatible, and with your project compiled version always can, I here unified set to 1.7)
3. Enter Project--properties---java Compiler to set the project compilation version to 1.7
4. Enter Project--properties---myeclipse---project facets set Java file version to 1.7
Error after eclipse Import project