之前idea项目运行一切正常。但是某天打开之后,忽然报错:错误的大意是:无法接解析项目。
一直搞不懂是哪里出错了,重启idea还是一样的错误。但是重启时发现,在报无法解析项目之前,先报了无法解析插件的错误,如:
Problems found loading plugins: Plugin "GlassFish Integration" was not loade
觉得应该是由于这个问题导致的无法解析。用这个作为线索百度,找到了解决方案,参考:
里面的一个答案详细写了这个问题的解决方案:
This steps cam help in fixing the issues. This were actually provided in the intellij support site
Navigate to settings -> plugins
Uncheck all the plugins that weregiving the errors (they were red in my list) -> apply changes -> close settings
IntelliJ might ask you to restart (do it)
Navigate back to plugins. -> Enable missing plugin (for me it was Database Tools and SQL)
Apply and restart as directed.
Navigate to plugins and reenable the (JAVA EE etc ) plugins as required.
Please follow this Intellij link if you face any issues after following the above steps
简单来说,就是打开idea,到settings->plugins,找到所有加载错误的插件(标红的),去勾选,点击apply之后,重启idea。此时,还是会报上述的错误。接下来,还是到settings->plugins,把刚才因为加载错误被去勾选的插件再勾上,apply,再重启一次idea。问题完美解决~
因为这个问题纠结了非常久,写个blog标记一下~再次感慨,stackoverflow真是个好地方~