Reputation: 153
When i try to compile netbeans projects i get this message/error : "Please wait - classpath scanning in progress..."
and nothing happens , its like you have have to wait for enternity to conmpile "hello world"...
Now the first thing is that we have moved to a new office building, but the laptop is the same. It's a very secure enviroment with a lot of "security", can't connect anywhere almost. Also i have changed the user dir in netbeans.conf to save my data in c:\Program Files\User
Any ideas how to fix this? alrady tried reinstalling netbeans, changing save location between standart and newone...
Upvotes: 1
Views: 13095
Reputation: 1
In my case, when adding JavaFX libraries in my project: properties >> libraries >> Compiler Tab >> Classpath option, I have accidentally added my root user (C:\users\paulo) along with the JavaFX jar files. That was making NetBeans to scan basically my whole harddisk. The solution was very simple: just to go back there in properties >> libraries >> Compiler Tab >> Classpath option >> Edit button and deleted that "c:\users\paulo" and almost immediately the scanning processes went away.
Upvotes: 0
Reputation: 49
I followed Andreas-d advise... after disabling the antivirus and restarting netbeans everything is back to normal.
Upvotes: 1
Reputation: 11
I deleted all the files under the .netbeans/7.0/modules directory. Although I lost some configurations of the IDE, it started to work pretty fine.
http://wiki.netbeans.org/FaqWhatIsUserdir
Upvotes: 1
Reputation:
This seems interesting issue as per you have specified ! Somewhere, the netbeans documentation writes that the issue has already been resolved. However, for your information please have a look on : Scanning Project Classpaths takes too long
This link may or may not be helpful to you. But, the discussion may provide chance to resolve it.
Thank you.
Upvotes: 0
Reputation: 114797
Just some ideas to find the problem
There is a chance, that you don't have access rights to the folders/shares that contain your libraries. Or, as you mentioned security, that some virus scanner blocks access to some highly dangerous libs...
Upvotes: 2