In my case , my current java version is 1.6.
So i run the command 'update-alternatives --config java' to change the version to java 1.7, then restart the Eclipse, the problem is fixed.
Note: I installed muti-java version(Java 1.6 and java 1.7)
Hope help to you.