为什么我的39行“Path file = new File("F:/java/code/img.png").toPath();'报错提示Path和toPath这两个
您好,问一下你的问题解决了么,我也出现了和你一样的问题!
path导包导错了吧,是这个包 import java.nio.file.Path;