因為用了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