解决myeclipse中 保存代码时"resetting selection"耗时操作

因为用了springboot,最近每次一保存代码,eclipse总在同步的在做什么事,耗时在6-15秒。任务显示"resetting selecttion"保存操作 是我们常用的步骤,老是这样吃不消啊。于是分析和查...

因为用了springboot,最近每次一保存代码,eclipse总在同步的在做什么事,耗时在6-15秒。

任务显示"resetting selecttion"

保存操作 是我们常用的步骤,老是这样吃不消啊。

于是分析和查资料后找出了解决方案:

1 打开你的项目的根目录文件夹

删除项目 的.project文件里的

<buildCommand> <name>com.genuitec.eclipse.springframework.springbuilder</name> <arguments> </arguments></buildCommand>

<nature>com.genuitec.eclipse.springframework.springnature</nature>


2. 打开项目的.settings文件夹

删掉org.eclipse.wst.common.project.facet.core.xml文件里的

<installed facet="me.spring" version="4.1"/>


3. 保存文件,刷新项目,重启myeclipse


条评论

请先 登录 后评论
不写代码的码农
三叔

422 篇文章

作家榜 »

  1. 小编 文章
返回顶部
部分文章转自于网络,若有侵权请联系我们删除