You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@netbeans.apache.org by Mark J Koch <ma...@maehem.com> on 2020/12/16 05:07:57 UTC

Unable to load Maven project after updating to OS X Catalina

I just updated to OS X Catalina and now my Netbeans 12.1 and 12.2 app won’t load Maven projects any more.   Those projects are located under the Documents directory.  I know Apple changed how they allow apps to access a user’s documents but NetBeans does not seem to recognize that.

I get a popup with this:
java.io.FileNotFoundException: /Users/mark/Documents/GitHub/Maehem/mavenproject1/pom.xml (Operation not permitted)’

If I use Netbeans “Open File…”   to try and open any file under Documents, the file browser is just empty. 

Other apps that run on OSX will pop up a dialog to allow for that app to access the Documents directory, but Netbeans never pops up such a dialog.

If I run NetBeans from the command line,  it will pop up the dialog to allow ‘Terminal’ to access the Documents directory and NetBeans will run normally. 

In OSX SystemPreferences -> Security,  I have tried to add NetBeans full disk access, but that didn’t make it work.



Mark


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@netbeans.apache.org
For additional commands, e-mail: users-help@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists


Re: Unable to load Maven project after updating to OS X Catalina

Posted by Mark J Koch <ma...@maehem.com>.
Malcom,


Thank you for that tip!     All is working now.



mark




> On Dec 15, 2020, at 9:38 PM, Malcolm Fitzgerald <ma...@notyourhomework.net> wrote:
> 
> Mark,
> 
> Manage the permissions in System Preferences->Security and Privacy->Privacy
> 
> 
> You need to give java Full Disk Access and Files and Folders access. Do the same for the shell, it's labelled as "sh" in the settings.
> 
> 
> Malcolm
> 
> On 16/12/20 6:07 pm, Mark J Koch wrote:
>> I just updated to OS X Catalina and now my Netbeans 12.1 and 12.2 app won’t load Maven projects any more.   Those projects are located under the Documents directory.  I know Apple changed how they allow apps to access a user’s documents but NetBeans does not seem to recognize that.
>> 
>> I get a popup with this:
>> java.io.FileNotFoundException: /Users/mark/Documents/GitHub/Maehem/mavenproject1/pom.xml (Operation not permitted)’
>> 
>> If I use Netbeans “Open File…”   to try and open any file under Documents, the file browser is just empty.
>> 
>> Other apps that run on OSX will pop up a dialog to allow for that app to access the Documents directory, but Netbeans never pops up such a dialog.
>> 
>> If I run NetBeans from the command line,  it will pop up the dialog to allow ‘Terminal’ to access the Documents directory and NetBeans will run normally.
>> 
>> In OSX SystemPreferences -> Security,  I have tried to add NetBeans full disk access, but that didn’t make it work.
>> 
>> 
>> 
>> Mark
>> 
>> 
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe@netbeans.apache.org
>> For additional commands, e-mail: users-help@netbeans.apache.org
>> 
>> For further information about the NetBeans mailing lists, visit:
>> https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
>> 


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@netbeans.apache.org
For additional commands, e-mail: users-help@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists