Netbeans: Transferring Maven Repository index: Central - stuck at 0%

前端 未结 5 1626
时光说笑
时光说笑 2020-12-30 06:05

I\'m unable to get the Central Maven repo index. I\'m running Netbeans 7.0.1 and have tried rebooting my PC, rebooting Netbeans 4 times and alternate mirrors. It sits at 0

相关标签:
5条回答
  • 2020-12-30 06:30

    Try to move the local-Repository-path to another place, in the file: conf/settings.xml

    <localRepository>D:/mvn_repo</localRepository>
    

    Also check maven's configuration.

    0 讨论(0)
  • 2020-12-30 06:31

    How to Stop Netbeans: Transferring repository index
    I see at status bar, that Netbeans is Transferring repository index : java.net repository. It slows down my computer very much. Very annoying.

    Solution for Netbeans 7.4 (and possibly later versions, 8.0):
    Tools | Options | Java | Maven | Index”, find “Index Update Frequency” and then adjust how often it should be updated (Never :).

    0 讨论(0)
  • 2020-12-30 06:41

    Had the same problem myself, it turned out to be the proxy settings (Tools/Options/Proxy settings).

    0 讨论(0)
  • 2020-12-30 06:41

    Add -J-Djava.io.tmpdir=T:/Temp to the end of the netbeans_default_options property in NetBeans/etc/netbeans.conf configuration file, assuming that T:\ has a lot more space than C:\.

    0 讨论(0)
  • 2020-12-30 06:51

    From Netbeans Settings Options->Java->Maven you can set the indexing to never. How exactly that relates to 'Completely disable' I'm not sure.

    0 讨论(0)
提交回复
热议问题