I am getting this error when I include an opensource library that I had to compile from source. Now, all the suggestions on the web indicate that the code was compiled in o
changing the project to use java 1.7: For this to work follow those steps :
Not working?
Still not working?
in your project's directory: edit .settings/org.eclipse.jdt.core.prefs > make sure your target level is applied
Good Luck!