【发布时间】:2021-04-10 07:21:28
【问题描述】:
MacOS 升级到 Big Sur 并将“netbeans_jdkhome”更改到 netbeans.conf 文件后,应用程序已打开并正在运行,但无法打开我的项目之一 因为“文档”下包含我的项目文件的框显示空内容(当然我的文件也在那里)。
也不可能创建一个新项目,hea一些日志消息:
cd /Users/bparis/Documents/Netbeans; JAVA_HOME=/Library/Java/JavaVirtualMachines/jdk-15.0.1.jdk/Contents/Home "/Applications/NetBeans/Apache ....
shell-init: error retrieving current directory: getcwd: cannot access parent directories: Operation not permitted
pwd: error retrieving current directory: getcwd: cannot access parent directories: Operation not permitted
pwd: error retrieving current directory: getcwd: cannot access parent directories: Operation not permitted
chdir: error retrieving current directory: getcwd: cannot access parent directories: Operation not permitted
chdir: error retrieving current directory: getcwd: cannot access parent directories: Operation not permitted
Scanning for projects...
Apache NetBeans 11.2 和 12.2 存在相同问题。
所以我想 Netbeans 不允许访问磁盘上的文件。
我进入“系统 > 首选项 > 安全和隐私”以尝试更改该行为,但未列出 Netbeans,我无法添加它”(+ 按钮未激活)。
我可以授予 Netbeans 对磁盘的“完全访问”权限,但这并没有改变。
感谢您的帮助, 伯纳德
【问题讨论】: