今天电脑突然断电,当时正好开着idea,等了半天无果,只能强行关机重启。重启之后,那么问题来了:重新打开idea报错java.lang.AssertionError:upexpected content storage modification 后来baidu了下无果,果断google,终于找到解决办法,这边贴出来,方便后续出现此问题的朋友。
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.
源地址:http://*.com/questions/25507998/intellij-idea-crashed-and-now-i-have-error
————————————————————————————————————————————————————————
拷贝别人的webstorm 项目,打开后 发现项目 整个没有文件夹
解决办法 删除.idea文件夹 重新打开项目 一切正常