今天下载了一个插件,下载之后重新启动就打不开IDEA了,一直卡在加载界面:
后来找到插件文件夹(用户\我的用户名\AppData\Local\JetBrains\IdeaIC2022.2\plugin)把插件给删了,发现还是打不开
刚学java一段时间,IDEA是刚下的,我寻思着也没啥东西,重装算了,结果重装后还是打不开,重启了电脑几次仍然打不开
去翻了日志,但由于英语基础不好,读不懂log文件,所以只能发帖把log扔上来了
用的是IDEA2022.2社区版
以下是日志文件最后一段:
2022-11-20 14:53:31,781 [ 121946] SEVERE - #c.i.s.ComponentManagerImpl - IntelliJ IDEA 2022.2.3 Build #IC-222.4345.14
2022-11-20 14:53:31,781 [ 121946] SEVERE - #c.i.s.ComponentManagerImpl - JDK: 17.0.4.1; VM: OpenJDK 64-Bit Server VM; Vendor: JetBrains s.r.o.
2022-11-20 14:53:31,782 [ 121947] SEVERE - #c.i.s.ComponentManagerImpl - OS: Windows 10
2022-11-20 14:53:31,796 [ 121961] SEVERE - #c.i.o.u.ObjectTree - Failed to load class: tv.twelvetone.gradle.plugin.navigation.components.MyProjectComponent
[Plugin: tv.twelvetone.gradle.plugin.navigation]
com.intellij.diagnostic.PluginException: Failed to load class: tv.twelvetone.gradle.plugin.navigation.components.MyProjectComponent
[Plugin: tv.twelvetone.gradle.plugin.navigation]
at com.intellij.serviceContainer.BaseComponentAdapter.getImplementationClass(BaseComponentAdapter.kt:47)
at com.intellij.serviceContainer.BaseComponentAdapter.getInstanceUncached(BaseComponentAdapter.kt:113)
at com.intellij.serviceContainer.BaseComponentAdapter.getInstance(BaseComponentAdapter.kt:73)
at com.intellij.serviceContainer.BaseComponentAdapter.getInstance$default(BaseComponentAdapter.kt:66)
at com.intellij.serviceContainer.ComponentManagerImpl.createComponents(ComponentManagerImpl.kt:413)
at com.intellij.openapi.project.impl.DefaultProjectImpl.init(DefaultProject.java:313)
at com.intellij.openapi.project.impl.DefaultProject$1.init(DefaultProject.java:52)
at com.intellij.openapi.project.impl.DefaultProjectTimed.get(DefaultProjectTimed.java:33)
at com.intellij.openapi.project.impl.DefaultProject.getDelegate(DefaultProject.java:136)
at com.intellij.openapi.project.impl.DefaultProject.getMessageBus(DefaultProject.java:243)
at com.intellij.codeInsight.daemon.impl.DaemonCodeAnalyzerImpl.cancelUpdateProgress(DaemonCodeAnalyzerImpl.java:670)
at com.intellij.codeInsight.daemon.impl.DaemonCodeAnalyzerImpl.stopProcess(DaemonCodeAnalyzerImpl.java:645)
at com.intellij.codeInsight.daemon.impl.DaemonCodeAnalyzerImpl.lambda$new$0(DaemonCodeAnalyzerImpl.java:141)
at com.intellij.openapi.util.ObjectTree.runWithTrace(ObjectTree.java:126)
at com.intellij.openapi.util.ObjectTree.executeAll(ObjectTree.java:158)
at com.intellij.openapi.util.Disposer.dispose(Disposer.java:217)
at com.intellij.openapi.util.Disposer.dispose(Disposer.java:205)
at com.intellij.serviceContainer.ComponentManagerImpl.dispose(ComponentManagerImpl.kt:1121)
at com.intellij.openapi.util.ObjectTree.runWithTrace(ObjectTree.java:126)
at com.intellij.openapi.util.ObjectTree.executeAll(ObjectTree.java:158)
at com.intellij.openapi.util.Disposer.dispose(Disposer.java:217)
at com.intellij.openapi.util.Disposer.dispose(Disposer.java:205)
at com.intellij.util.Timed.dispose(Timed.java:38)
at com.intellij.util.TimedReference.dispose(TimedReference.java:8)
at com.intellij.openapi.project.impl.DefaultProjectTimed.lambda$dispose$0(DefaultProjectTimed.java:47)
at com.intellij.openapi.application.WriteAction.lambda$run$1(WriteAction.java:86)
at com.intellij.openapi.application.impl.ApplicationImpl.runWriteActionWithClass(ApplicationImpl.java:1011)
at com.intellij.openapi.application.impl.ApplicationImpl.runWriteAction(ApplicationImpl.java:1037)
at com.intellij.openapi.application.WriteAction.run(WriteAction.java:85)
at com.intellij.openapi.project.impl.DefaultProjectTimed.lambda$dispose$1(DefaultProjectTimed.java:47)
at com.intellij.openapi.application.TransactionGuardImpl.runWithWritingAllowed(TransactionGuardImpl.java:209)
at com.intellij.openapi.application.TransactionGuardImpl.access$100(TransactionGuardImpl.java:21)
at com.intellij.openapi.application.TransactionGuardImpl$1.run(TransactionGuardImpl.java:191)
at com.intellij.openapi.application.impl.ApplicationImpl.runIntendedWriteActionOnCurrentThread(ApplicationImpl.java:881)
at com.intellij.openapi.application.impl.ApplicationImpl$3.run(ApplicationImpl.java:513)
at com.intellij.openapi.application.impl.FlushQueue.doRun(FlushQueue.java:75)
at com.intellij.openapi.application.impl.FlushQueue.runNextEvent(FlushQueue.java:118)
at com.intellij.openapi.application.impl.FlushQueue.flushNow(FlushQueue.java:42)
at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:318)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:779)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:730)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:724)
at java.base/java.security.AccessController.doPrivileged(AccessController.java:399)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:86)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:749)
at com.intellij.ide.IdeEventQueue.defaultDispatchEvent(IdeEventQueue.java:918)
at com.intellij.ide.IdeEventQueue._dispatchEvent(IdeEventQueue.java:766)
at com.intellij.ide.IdeEventQueue.lambda$dispatchEvent$6(IdeEventQueue.java:450)
at com.intellij.openapi.progress.impl.CoreProgressManager.computePrioritized(CoreProgressManager.java:791)
at com.intellij.ide.IdeEventQueue.lambda$dispatchEvent$7(IdeEventQueue.java:449)
at com.intellij.openapi.application.TransactionGuardImpl.performActivity(TransactionGuardImpl.java:105)
at com.intellij.ide.IdeEventQueue.performActivity(IdeEventQueue.java:624)
at com.intellij.ide.IdeEventQueue.lambda$dispatchEvent$8(IdeEventQueue.java:447)
at com.intellij.openapi.application.impl.ApplicationImpl.runIntendedWriteActionOnCurrentThread(ApplicationImpl.java:881)
at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:493)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:207)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:128)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:117)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:113)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:105)
at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:92)
Caused by: java.lang.ClassNotFoundException: tv.twelvetone.gradle.plugin.navigation.components.MyProjectComponent
PluginClassLoader(plugin=PluginDescriptor(name=Gradle/Maven Navigation, id=tv.twelvetone.gradle.plugin.navigation, descriptorPath=plugin.xml, path=~\AppData\Roaming\JetBrains\IdeaIC2022.2\plugins\GradleNavigationPlugin.jar, version=1.0.48, package=null, isBundled=false), packagePrefix=null, instanceId=122, state=active)
at com.intellij.serviceContainer.ComponentManagerImplKt.doLoadClass(ComponentManagerImpl.kt:1468)
at com.intellij.serviceContainer.ComponentManagerImplKt.access$doLoadClass(ComponentManagerImpl.kt:1)
at com.intellij.serviceContainer.ComponentManagerImpl.loadClass(ComponentManagerImpl.kt:835)
at com.intellij.serviceContainer.BaseComponentAdapter.getImplementationClass(BaseComponentAdapter.kt:44)
... 60 more
2022-11-20 14:53:31,798 [ 121963] SEVERE - #c.i.o.u.ObjectTree - IntelliJ IDEA 2022.2.3 Build #IC-222.4345.14
2022-11-20 14:53:31,798 [ 121963] SEVERE - #c.i.o.u.ObjectTree - JDK: 17.0.4.1; VM: OpenJDK 64-Bit Server VM; Vendor: JetBrains s.r.o.
2022-11-20 14:53:31,798 [ 121963] SEVERE - #c.i.o.u.ObjectTree - OS: Windows 10
2022-11-20 14:53:31,799 [ 121964] SEVERE - #c.i.o.u.ObjectTree - Plugin to blame: Gradle/Maven Navigation version: 1.0.48
发现还是因为安装的插件的问题,但是我已经把整个IDEA卸了重装了,而plugin文件夹也没有插件了,却还是显示因为这个插件出错