Pages

Wednesday, December 18, 2013

How to resolve "import java.neo.file cannot be resolved" error?

Ypu will get the "import java.neo.file cannot be resolved" error with following imports:
import java.nio.file.Files;
import java.nio.file.Paths;

To resolve that do the following:
Right click on the project > Properties > Java Compiler > Set Compiler compliance level as 1.7

Refresh the project

1 comment: