IntelliJ IDEA 开启时报 Plugin Error 错误,解决办法?

开启IDEA的时候,报了一个 Plugin Error 的错误,怎么解决嘞?
Plugin 'org.jetbrains.idea.maven' failed to initialize and will be disabled.  Please restart IntelliJ IDEA.

java.lang.IllegalStateException: @NotNull method com/intellij/openapi/progress/ProgressManager.getInstance must not return null
    at com.intellij.openapi.progress.ProgressManager.getInstance(ProgressManager.java:35)
    at com.intellij.openapi.progress.ProgressManager.checkCanceled(ProgressManager.java:188)
    at com.intellij.openapi.progress.ProgressIndicatorProvider.checkCanceled(ProgressIndicatorProvider.java:48)
    at com.intellij.lang.impl.PsiBuilderImpl.a(PsiBuilderImpl.java:255)
    at com.intellij.lang.impl.PsiBuilderImpl.(PsiBuilderImpl.java:192)
    at com.intellij.lang.impl.PsiBuilderImpl.(PsiBuilderImpl.java:159)
    at com.intellij.lang.impl.PsiBuilderFactoryImpl.createBuilder(PsiBuilderFactoryImpl.java:78)
    at com.intellij.psi.impl.source.parsing.xml.XmlBuilderDriver.createBuilderAndParse(XmlBuilderDriver.java:140)
    at com.intellij.psi.impl.source.parsing.xml.XmlBuilderDriver.build(XmlBuilderDriver.java:59)
    at org.jetbrains.idea.maven.utils.MavenJDOMUtil.doRead(MavenJDOMUtil.java:127)
    at org.jetbrains.idea.maven.utils.MavenJDOMUtil.read(MavenJDOMUtil.java:61)
    at org.jetbrains.idea.maven.utils.MavenUtil.getRepositoryFromSettings(MavenUtil.java:728)
    at org.jetbrains.idea.maven.utils.MavenUtil.doResolveLocalRepository(MavenUtil.java:715)
    at org.jetbrains.idea.maven.utils.MavenUtil.resolveLocalRepository(MavenUtil.java:694)
    at org.jetbrains.idea.maven.utils.MavenEnvironmentRegistrar.registerPathVariable(MavenEnvironmentRegistrar.java:38)
    at org.jetbrains.idea.maven.utils.MavenEnvironmentRegistrar.initComponent(MavenEnvironmentRegistrar.java:34)
    at com.intellij.openapi.components.impl.ComponentManagerImpl$ComponentConfigComponentAdapter.getComponentInstance(ComponentManagerImpl.java:518)
    at com.intellij.openapi.components.impl.ComponentManagerImpl.createComponents(ComponentManagerImpl.java:123)
    at com.intellij.openapi.application.impl.ApplicationImpl.access$801(ApplicationImpl.java:91)
    at com.intellij.openapi.application.impl.ApplicationImpl$12.run(ApplicationImpl.java:497)
    at com.intellij.openapi.progress.impl.CoreProgressManager$2.run(CoreProgressManager.java:142)
    at com.intellij.openapi.progress.impl.CoreProgressManager.a(CoreProgressManager.java:446)
    at com.intellij.openapi.progress.impl.CoreProgressManager.executeProcessUnderProgress(CoreProgressManager.java:392)
    at com.intellij.openapi.progress.impl.ProgressManagerImpl.executeProcessUnderProgress(ProgressManagerImpl.java:54)
    at com.intellij.openapi.progress.impl.CoreProgressManager.runProcess(CoreProgressManager.java:127)
    at com.intellij.openapi.application.impl.ApplicationImpl.createComponents(ApplicationImpl.java:512)
    at com.intellij.openapi.components.impl.ComponentManagerImpl.init(ComponentManagerImpl.java:107)
    at com.intellij.openapi.application.impl.ApplicationImpl.load(ApplicationImpl.java:455)
    at com.intellij.openapi.application.impl.ApplicationImpl.load(ApplicationImpl.java:447)
    at com.intellij.idea.IdeaApplication.run(IdeaApplication.java:194)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke(Method.java:498)
    at com.intellij.idea.MainImpl$1$1$1.run(MainImpl.java:60)
    at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:311)
    at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:756)
    at java.awt.EventQueue.access$500(EventQueue.java:97)
    at java.awt.EventQueue$3.run(EventQueue.java:709)
    at java.awt.EventQueue$3.run(EventQueue.java:703)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:76)
    at java.awt.EventQueue.dispatchEvent(EventQueue.java:726)
    at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:361)
    at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:201)
    at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116)
    at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:105)
    at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
    at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93)
    at java.awt.EventDispatchThread.run(EventDispatchThread.java:82)
IntelliJ IDEA 开启时报 Plugin Error 错误,解决办法?_第1张图片
image
IntelliJ IDEA 开启时报 Plugin Error 错误,解决办法?_第2张图片
image

看到报错不要怂,一定要看它的提示信息,可以快速帮助你定位问题所在。

Problems found loading plugins:
Plugin "JBoss Arquillian Support" was not loaded: required plugin "Maven Integration" is disabled.
Plugin "Maven Integration Extension" was not loaded: required plugin "Maven Integration" is disabled.

从提示信息可以看出,出错的地方在于启用的JBoss Arquillian Support和Maven Integration Extension插件需要下载依赖插件。

根据个人需要点击下面的解决方案:
  • 点下边的蓝色字体 Enable Maven Integration启用 所依赖插件就可以了。

  • 如果这2个插件对你没什么用处,点 Disable not loaded plugins禁用所有未加载的插件。

  • 最下边的 Open plugin manager可以打开插件管理器,里边有更详细的设置

你可能感兴趣的:(IntelliJ IDEA 开启时报 Plugin Error 错误,解决办法?)