您当前的位置: 首页 >  eclipse

宝哥大数据

暂无认证

  • 1浏览

    0关注

    1029博文

    0收益

  • 0浏览

    0点赞

    0打赏

    0留言

私信
关注
热门博文

Eclipse 设置问题

宝哥大数据 发布时间:2017-05-30 15:29:57 ,浏览量:1

1、scala 版本不兼容问题 问题:
Description Resource    Path    Location    Type
The version of scala library found in the build path of implicitDemo (2.10.5) is prior to the one provided by scala IDE (2.11.7). Setting a Scala Installation Choice to match. implicitDemo        Unknown Scala Version Problem
解决方法:

项目右键–>Build Path—> Configuare Build Path –>Libraries—>add Library–>Scala Library –>next –>选择合适的版本 这里写图片描述

2、eclipse远程连接调试设置

不同版本的eclipse有不同的设置方法 方式一:

默认的Eclipse 是不用代理上网,但在一些公司的局域网,需要使用代理上网, 因而需要手工设置eclipse的上网设置 window–>preferences–>general–>network connections 选中 manual proxy configuration: 依次填入http proxy , port就ok 了。 另外,如果代理需要用帐号和密码就需要选中 Enable proxy authentication, 然后填上 user name 及password 取消,ok

方式二: 通常的升级,只需要在window->preferences->Install/Update:Proxy Settings中设置一下即可.

而一般的Web Service程序, 需要访问网络资源, 此时设置的代理是使得Java VM通过代理访问,设置方式是:

Run–>Run…–>(x=)Argument下面的VM Arguments下设置:

-Dhttp.proxyHost=[代理IP地址] [空格] -Dhttp.proxyPort=[端口]

注:[]不需要加,如一个具体的实例如下:

-Dhttp.proxyHost=202.189.126.86  -Dhttp.proxyPort=3128

方式三: 如果你需要代理才能上网更新eclipse的话,请在启动eclipse时加上参数,例如: eclipse.exe -vmargs -DproxySet=true -DproxyHost=aProxyAddress -DproxyPort=aProxyPort 其中aProxyAddress就是你的代理IP,aproxyPort是代理端口。 更新eclipse的方法是Help–>Software Updates–>Find and Install…

关注
打赏
1587549273
查看更多评论
立即登录/注册

微信扫码登录

0.0390s