安装IDEA 2023.2版本启动报错Fatal error initializing ‘com.alibaba.p3c.idea.component.CommonSettingsApplicatio
安装IDEA 2023.2版本启动报错Fatal error initializing 'com.alibaba.p3c.idea.component.CommonSettingsApplication:
Internal error. Please refer to https://jb.gg/ide/critical-startup-errors
com.intellij.diagnostic.PluginException: Fatal error initializing 'com.alibaba.p3c.idea.component.CommonSettingsApplicationComponent
' [Plugin: com.alibaba.p3c.smartfox]
at com.intellij.serviceContainer.ComponentManagerImpl.registerComponents(ComponentManagerImpl.kt:392)
at com.intellij.serviceContainer.ComponentManagerImpl.access$registerComponents(ComponentManagerImpl.kt:73)
at com.intellij.serviceContainer.ComponentManagerImpl.registerComponents(ComponentManagerImpl.kt:258)
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)
Caused by: java.lang.ClassNotFoundException: com.alibaba.p3c.idea.component.CommonSettingsApplicationComponent
PluginClassLoader(plugin=PluginDescriptor(name=Alibaba Java Coding Guidelines, id=com.alibaba.p3c.smartfox, descriptorPath=plugin.xml, path=~\AppData\Roaming\JetBrains\IntelliJIdea2023.2\plugins\Alibaba Java Coding Guidelines, version=2.1.0, package=null, isBundled=false), packagePrefix=null, state=active)
at com.intellij.ide.plugins.cl.PluginClassLoader.loadClass(PluginClassLoader.kt:156)
at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:520)
at com.intellij.serviceContainer.ComponentManagerImpl.registerComponent(ComponentManagerImpl.kt:513)
at com.intellij.serviceContainer.ComponentManagerImpl.registerComponents(ComponentManagerImpl.kt:372)
... 22 more
-----
Your JRE: 17.0.7+7-b1000.6 amd64 (JetBrains s.r.o.)
G:\install\study\IntelliJ IDEA 2023.2\jbr
我的情况与这篇文章不同,我的是有这个插件的,但是还是打开报错。
解决方案:
如果无法打开 IntelliJ IDEA,您可以尝试手动禁用插件。这可以通过删除插件的配置文件或文件夹来实现。这里是一个可能的步骤:
找到插件目录: 插件通常存储在 IntelliJ IDEA 的安装目录中的 “plugins” 文件夹中。您可以在类似以下路径的位置找到该文件夹:C:\Program Files\JetBrains\IntelliJ IDEA\plugins 或者 ~/Library/Application Support/JetBrains/IdeaIC/plugins。
找到 Alibaba Java Coding Guidelines 插件: 在插件目录中查找名为 Alibaba Java Coding Guidelines 或类似的文件夹。
删除插件文件夹: 删除 Alibaba Java Coding Guidelines 插件的文件夹或将其重命名,以使 IntelliJ IDEA 无法加载该插件。
重新启动 IntelliJ IDEA: 完成后,尝试重新启动 IntelliJ IDEA,看看是否可以正常启动。
通过这种方式,您可以绕过无法打开 IntelliJ IDEA 的问题,并在没有 Alibaba Java Coding Guidelines 插件的情况下启动。然后,您可以尝试重新安装或解决插件问题。
如果打开还有同样的报其他插件的错,按照上述步骤再次重复操作。
更多推荐
所有评论(0)