Intellij IDEA 双击启动报错ClassNotFoundException: com.licel.b.z@

项目场景:

新从官网下载了ideaIU-2023.2.win.zip ,安装后双击启动报错, 无法运行idea, 提示信息如下


问题描述

java 复制代码
Internal error. Please refer to https://jb.gg/ide/critical-startup-errors

java.lang.ExceptionInInitializerError
    at java.base/java.lang.Class.forName0(Native Method)
    at java.base/java.lang.Class.forName(Class.java:375)
    at fuck_the_regulations_v320.us.f(Unknown Source)
    at fuck_the_regulations_v320.us.W(Unknown Source)
    at fuck_the_regulations_v320.us.q(Unknown Source)
    at fuck_the_regulations_v320.ba.uf(ba.java)
    at java.base/java.lang.invoke.BootstrapMethodInvoker.invoke(BootstrapMethodInvoker.java:92)
    at java.base/java.lang.invoke.CallSite.makeSite(CallSite.java:315)
    at java.base/java.lang.invoke.MethodHandleNatives.linkCallSiteImpl(MethodHandleNatives.java:281)
    at java.base/java.lang.invoke.MethodHandleNatives.linkCallSite(MethodHandleNatives.java:271)
    at fuck_the_regulations_v320.ba.a(ba.java)
    at fuck_the_regulations_v320.ba.<init>(ba.java)
    at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:77)
    at java.base/jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
    at java.base/java.lang.reflect.Constructor.newInstanceWithCaller(Constructor.java:499)
    at java.base/java.lang.reflect.Constructor.newInstance(Constructor.java:480)
    at com.intellij.serviceContainer.ConstructorInjectionKt.instantiateUsingPicoContainer(constructorInjection.kt:63)
    at com.intellij.serviceContainer.ComponentManagerImpl.instantiateClassWithConstructorInjection(ComponentManagerImpl.kt:1011)
    at com.intellij.serviceContainer.MyComponentAdapter.doCreateInstance(MyComponentAdapter.kt:36)
    at com.intellij.serviceContainer.BaseComponentAdapter.doCreateInstance(BaseComponentAdapter.kt:158)
    at com.intellij.serviceContainer.BaseComponentAdapter.createInstance(BaseComponentAdapter.kt:137)
    at com.intellij.serviceContainer.BaseComponentAdapter.getInstance(BaseComponentAdapter.kt:94)
    at com.intellij.serviceContainer.BaseComponentAdapter.getInstance$default(BaseComponentAdapter.kt:79)
    at com.intellij.serviceContainer.ComponentManagerImpl$createInitOldComponentsTask$1.invoke(ComponentManagerImpl.kt:404)
    at com.intellij.serviceContainer.ComponentManagerImpl$createInitOldComponentsTask$1.invoke(ComponentManagerImpl.kt:402)
    at com.intellij.ide.bootstrap.AppServicePreloadingKt$postAppRegistered$3$1.invokeSuspend(appServicePreloading.kt:142)
    at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
    at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:106)
    at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:318)
    at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:789)
    at java.desktop/java.awt.EventQueue$3.run(EventQueue.java:740)
    at java.desktop/java.awt.EventQueue$3.run(EventQueue.java:734)
    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:759)
    at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.kt:322)
    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.util.ConcurrentModificationException: java.lang.ClassNotFoundException: com.licel.b.z@ PluginClassLoader(plugin=PluginDescriptor(name=jetbrains-agent, id=io.zhile.crack.jetbrains.agent, descriptorPath=plugin.xml, path=~\AppData\Roaming\JetBrains\IntelliJIdea2023.2\plugins\jetbrains-agent.jar, version=3.2.0, package=null, isBundled=false), packagePrefix=null, state=active)
    at fuck_the_regulations_v320.eM.<clinit>(eM.java)
    ... 43 more
Caused by: java.lang.ClassNotFoundException: com.licel.b.z@ PluginClassLoader(plugin=PluginDescriptor(name=jetbrains-agent, id=io.zhile.crack.jetbrains.agent, descriptorPath=plugin.xml, path=~\AppData\Roaming\JetBrains\IntelliJIdea2023.2\plugins\jetbrains-agent.jar, version=3.2.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 java.base/java.lang.Class.forName0(Native Method)
    at java.base/java.lang.Class.forName(Class.java:375)
    ... 44 more

-----
Your JRE: 17.0.7+7-b1000.6 amd64 (JetBrains s.r.o.)
E:\Soft\IntelliJ IDEA 2023.2\jbr

详细日子如上 ,从启动日志看Caused by: java.lang.ClassNotFoundException: com.licel.b.z@

原因分析:

查看报错来源, PluginClassLoader加载\AppData\Roaming\JetBrains\IntelliJIdea2023.2\plugins\jetbrains-agent.jar引发了此报错, jetbrains-agent.jar相信所有使用IntelliJIdea的小伙伴都不陌生,大家都会从晚上下载这个包来做一些不可告人的事情


解决方案:

进入目录C:\Users\{用户名}\AppData\Roaming\JetBrains\IntelliJIdea2023.2\plugins\ ,如果是MAC目录有些许不同。 删除安装的插件jetbrains-agent.jar 后,再重启IDEA会发现问题解决

相关推荐
w_31234545 小时前
自定义一个maven骨架 | 最佳实践
java·maven·intellij-idea
dr李四维7 小时前
IntelliJ IDEA 快捷键大全:提升开发效率的利器
java·intellij-idea·键盘·快捷键·快速开发
会说法语的猪12 小时前
IDEA使用Alt + Enter快捷键自动接受返回值一直有final修饰的问题处理
java·ide·intellij-idea
music0ant12 小时前
Idea 将多个module显示在同一个project
intellij-idea
GoodStudyAndDayDayUp1 天前
IDEA能够从mapper跳转到xml的插件
xml·java·intellij-idea
Anna。。1 天前
Java入门2-idea 第五章:IO流(java.io包中)
java·开发语言·intellij-idea
总是学不会.2 天前
【集合】Java 8 - Stream API 17种常用操作与案例详解
java·windows·spring boot·mysql·intellij-idea·java集合
Doker 多克2 天前
IntelliJ IDEA Docker集成
spring cloud·docker·intellij-idea
smileSunshineMan2 天前
vertx idea快速使用
java·ide·intellij-idea·vertx
阿乾之铭2 天前
IntelliJ IDEA中的语言级别版本与目标字节码版本配置
java·ide·intellij-idea