eclipse 启动后报 An internal error occurred during: "Validating ***".

在网上找了一下,这个有点接近

最近在项目在jsp中写js时,总是不断的提示: An internal error occurred during: "JavaScript translation for :......,特别影响编码效率,还很容易打断思路,经过一番搜索在stackflow上找到了问题解决方案(原文地址:http://stackoverflow.com/questions/10181860/eclipse-error-javascript-translation-for-intentionally-not-implemented),方法很简单,就是删除Workspace/.metadata/下的.mylyn文件夹,重启eclipse就ok,

    可以在workspace/.metadate/下 查看.log文件查看eclipse 错误日志.

原文:http://shuaijie506.iteye.com/blog/1773516


虽说没有删除mylyn文件夹,但看了看.log日志文件:

!ENTRY org.eclipse.egit.ui 2 0 2013-10-31 10:33:05.500
!MESSAGE Warning: The environment variable HOME is not set. The following directory will be used to store the Git
user global configuration and to define the default location to store repositories: 'C:\Documents and Settings\Administrator'. If this is
not correct please set the HOME environment variable and restart Eclipse. Otherwise Git for Windows and
EGit might behave differently since they see different configuration options.
This warning can be switched off on the Team > Git > Confirmations and Warnings preference page.

原来设置一下环境变量就行了。进设置界面一看,还直没有指定java及git的环境变量。就是没有想明白,没有环境变量是怎么启动的。

设置后,果然不出问题了。

评论 3
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值