IllegalArgumentException: No matching field found: toPath for class java.io.File when running cloverage

That's because toPath doesn't exist in JDK 1.6 (and nothing indicates that 1.7's required).