需要修改两个地方:
解决java compiler level does not match the version of the installed java project facet
原文:http://www.cnblogs.com/sigm/p/7247936.html