今天电脑忽然断电,当时正好开着idea,等了半天无果,只能强行关机重启。重启以后,那么问题来了:从新打开idea报错java.lang.AssertionError:upexpected content storage modification 后来baidu了下无果,果断google,终于找到解决办法,这边贴出来,方便后续出现此问题的朋友。java
If you cannot even open your project in IntelliJ:
Close IntelliJ
Go to the directory <your_home>/.IntelliJIdeaXX/system/cache where XX is your IntelliJ version
Remove all the files in the cache directory.
Then restart IntelliJ
This has worked for me in the past.web
源地址:http://stackoverflow.com/questions/25507998/intellij-idea-crashed-and-now-i-have-errorintellij-idea
————————————————————————————————————————————————————————webstorm
拷贝别人的webstorm 项目,打开后 发现项目 整个没有文件夹ide
解决办法 删除.idea文件夹 从新打开项目 一切正常google