首页 > 系统服务 > 详细

Eclipse设置代理上网

时间:2017-07-31 14:27:00      阅读:321      评论:0      收藏:0      [点我收藏+]

一、如果在内网开发项目,因为电脑不能上网,可能会出现在导入开源框架的jar包后,配置xml文件是,不出现语法检测和语法提示,Eclipse也提示告警:

no grammar constraints (dtd or xml schema) referenced in the document


解决方法1 导入xml的相关约束

 xml-->xml catalog ,增加User Specified Entries


解决方法2:让Eclipse设置代理上网

window-->preferences-->general-->network connections 

选中 manual proxy configuration: 依次填入http proxy 和https proxy以及port

另外,如果代理需要用帐号和密码就需要选中 Enable proxy authentication,

然后填上 user name  及password  

Active Provider:选择Manual

Proxy bypass:过滤到内网ip,如git服务器,否则设置代理之后,无法从git服务器上pull和push代码



本文出自 “小鱼的博客” 博客,谢绝转载!

Eclipse设置代理上网

原文:http://395469372.blog.51cto.com/1150982/1952254

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!