Here's how I fixed it:
1. Right-click the project name in Project Explorer and select Properties. Then click Project Facets.
2. Click the dropdown arrow to the right of Java. Select the value 1.6, rather than 1.5.
3. Click OK. The error should disappear from the Problems window.
No comments:
Post a Comment