Too many open Maven Netbeans files

I ran into an error that I cannot figure out, even after searching extensively on the internet.

I am running a Maven project in Java for SSH in a remote location, the project was building fine last week until I ran into this error message:

Maven runtime error. There were 2 issues while creating effective settings Unreadable Settings / Applications / NetBeans / NetBeans 8.0.app/Contents/Resources/NetBeans/java/maven/conf/settings.xml:/Applications/NetBeans/NetBeans 8.0.app/Contents/Resources/NetBeans /java/maven/conf/settings.xml(Too many open files in the system) @ / Applications / NetBeans / NetBeans 8.0.app/Contents/Resources/NetBeans/java/maven/conf/settings.xml Could not use environment variables for interpolation: cannot start program "env": error = 23, too many open files on the system @

Is there any way to delete these files as I can no longer build the application.

Many thanks

David

+3


source to share


2 answers


You can try using ulimit -v without restriction on the bash user profile.



+1


source


Give mvn clean

it a try This removes all files generated by the previous build.



0


source







All Articles