Probably you will face this error after upgrading to JDK 8 as some old interfaces now have new default methods in 1.8.
- So first verify that Your eclipse supports jdk 1.8, eclipse should be greater than or equal to 4.3.2(Eclipse Kepler SR2).
- Eclipse complains this error if source level of your project is lower than 1.8, so set source level to 1.8 then complier will not through any exception.
- Third option is, rollback to JDK 7 to use old interfaces.
Hope this will helps