Eclipse hangs intermittently on PC without internet connection

旧巷老猫 提交于 2019-12-06 06:15:49

问题


I've encountered this problem since Eclipse 3.2, but in the newer versions the problem occurs more often.

The eclipse IDE will be unresponsive for a few seconds (up to a minute?) whenever I access certain configuration menu items or when eclipse parses an XML file which contains xmlns variables pointing to some internet URL. (eg; xmlns:rich=http://richfaces.org/rich" )

Does anyone know how to set Eclipse to operate in "offline" mode? Or to cache the internet item locally?


回答1:


The correct way is to specify your own local copies of the referenced schema files. Under the Preferences, XML → XML Catalog, select User Specified Entries and click Add. Then you can add your own entry there, which could refer to a local file or even a file in your workspace.



来源:https://stackoverflow.com/questions/3332051/eclipse-hangs-intermittently-on-pc-without-internet-connection

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!