linux 编译Java文件 报错 could not create parent directories

linux 编译Java文件 报错 could not create parent directories

原因是当前用户的权限不足以在要生成的字节码的路径进行操作,比如目标路径可能是root所有

解决办法,用root 或者 sudo 修改目标文件夹的权限为777, 这样当前用户就可能对目标路径操作了

猜你喜欢

转载自www.cnblogs.com/hi3254014978/p/12684827.html
今日推荐