Idea加載項目掃描完畢后自動退出


問題描述:Idea平時好好的,突然就打開后掃描完畢后自動退出。網上說修改idea.exe.vmoptions文件的Xmx,還是不行。

后來根據http://www.pianshen.com/article/3971537327/提示完美解決

1.進入當前用戶的根目錄(比如我本地是:C:\Users\admin,一般是打開Cmd窗口顯示的默認目錄),查看日志文件java_error_in_idea_XXXX.log(比如我本地文件為:java_error_in_idea_3532.log),一般情況下,日志文件一開始會有“A fatal error”的提示信息,如下:

 1 #  2 # A fatal error has been detected by the Java Runtime Environment:  3 #  4 #  EXCEPTION_ILLEGAL_INSTRUCTION (0xc000001d) at pc=0x00007ffe54a146fa, pid=3532, tid=0x000000000000220c
 5 #  6 # JRE version: OpenJDK Runtime Environment (8.0_202-b44) (build 1.8.0_202-release-1483-b44)  7 # Java VM: OpenJDK 64-Bit Server VM (25.202-b44 mixed mode windows-amd64 compressed oops)  8 # Problematic frame:  9 # C  [mybatisplugin69638408677257723.tmp+0xa46fa] 10 # 11 # Failed to write core dump. Minidumps are not enabled by default on client versions of Windows 12 # 13 # If you would like to submit a bug report, please visit: 14 #   http://bugreport.java.com/bugreport/crash.jsp
15 # The crash happened outside the Java Virtual Machine in native code. 16 # See problematic frame for where to report the bug. 17 # 18 
19 ---------------  T H R E A D  ---------------

 2.根據提示,發現提示信息中有"Problematic frame.......mybatisplugin....."的信息,說明是mybatis plugin的問題導致的

3.刪除該plugin tmp文件,進入根目錄下的.IntelliJIdeaXXX文件夾下的如下目錄(我本地為:C:\Users\admin\.IntelliJIdea2019.1\config\plugins),刪除mybatis的文件夾,然后再啟動idea,問題消失

 

 


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM