I am getting the following error when I try to build my Java 1.8 project:
COMPILATION ERROR :
-------------------------------------------------------------
error: incompatible types: Path is not a functional interface
1 error
There is no line number associated with the error, but Netbeans is showing the red squiggly line under the package declaration for one of the classes in the project. That class doesn't even use Path though. It extends an abstract class in the same package that does use Path, if that's relevant.
Has anyone seen this before? Any thoughts on how to fix this?