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的环境变量。就是没有想明白,没有环境变量是怎么启动的。

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

你可能感兴趣的:(工具使用)