IDEA安装插件后,打不开了并提示:
Internal error. Please refer to https://jb.gg/ide/critical-startup-errors
com.intellij.diagnostic.PluginException: Key com.shuzijun.leetcode.plugin.setting.PersistentConfig duplicated; existingAdapter: ServiceAdapter(descriptor=ServiceDescriptor(interface='com.shuzijun.leetcode.plugin.setting.PersistentConfig', serviceImplementation='com.shuzijun.leetcode.plugin.setting.PersistentConfig', testServiceImplementation='null', headlessImplementation='null', overrides=false, configurationSchemaKey='null', preload=FALSE, client=null), pluginDescriptor=PluginDescriptor(name=LeetCode Editor, id=leetcode-editor, descriptorPath=plugin.xml, path=~\AppData\Roaming\JetBrains\IntelliJIdea2023.2\plugins\leetcode-editor, version=8.11, package=null, isBundled=false)); descriptor=com.shuzijun.leetcode.plugin.setting.PersistentConfig, app=Application (containerState PRE_INIT) , current plugin=leetcode-helper
at com.intellij.serviceContainer.ComponentManagerImpl.registerServices(ComponentManagerImpl.kt:566)
at com.intellij.serviceContainer.ComponentManagerImpl.registerComponents(ComponentManagerImpl.kt:257)
at com.intellij.openapi.client.ClientAwareComponentManager.registerComponents(ClientAwareComponentManager.kt:48)
at com.intellij.ide.bootstrap.AppPreInitKt$initServiceContainer$2.invokeSuspend(appPreInit.kt:41)
at com.intellij.ide.bootstrap.AppPreInitKt$initServiceContainer$2.invoke(appPreInit.kt)
at com.intellij.ide.bootstrap.AppPreInitKt$initServiceContainer$2.invoke(appPreInit.kt)
at kotlinx.coroutines.intrinsics.UndispatchedKt.startUndispatchedOrReturn(Undispatched.kt:78)
at kotlinx.coroutines.BuildersKt__Builders_commonKt.withContext(Builders.common.kt:167)
at kotlinx.coroutines.BuildersKt.withContext(Unknown Source)
at com.intellij.diagnostic.TracerKt.subtask(tracer.kt:45)
at com.intellij.diagnostic.TracerKt.subtask$default(tracer.kt:34)
at com.intellij.ide.bootstrap.AppPreInitKt.initServiceContainer(appPreInit.kt:40)
at com.intellij.ide.bootstrap.AppPreInitKt$initServiceContainer$1.invokeSuspend(appPreInit.kt)
at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
at kotlinx.coroutines.UndispatchedCoroutine.afterResume(CoroutineContext.kt:270)
at kotlinx.coroutines.AbstractCoroutine.resumeWith(AbstractCoroutine.kt:102)
at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:46)
at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:106)
at kotlinx.coroutines.scheduling.CoroutineScheduler.runSafely(CoroutineScheduler.kt:584)
at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.executeTask(CoroutineScheduler.kt:793)
at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.runWorker(CoroutineScheduler.kt:697)
at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(CoroutineScheduler.kt:684)
-----
Your JRE: 17.0.7+7-b1000.6 amd64 (JetBrains s.r.o.)
E:\Program Files (x86)\IntelliJ IDEA 2023.2\jbr
阅读后,发现是因为安装的插件出了问题,随后通过搜索idea插件安装路径,文章路径:http://t.csdnimg.cn/lt1Tk
然后,找到了我电脑上插件安装的位置
C:\Users\asus\AppData\Roaming\JetBrains\IntelliJIdea2023.2\plugins
把那个文件夹删掉后,IDAE就能正常打开了。