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会发现问题解决

相关推荐
wrx繁星点点4 小时前
享元模式:高效管理共享对象的设计模式
java·开发语言·spring·设计模式·maven·intellij-idea·享元模式
尘浮生12 小时前
Java项目实战II基于Spring Boot的问卷调查系统的设计与实现(开发文档+数据库+源码)
java·开发语言·数据库·spring boot·后端·maven·intellij-idea
心安成长15 小时前
IntelliJ IDEA快速接入LLMs大模型API
java·ide·intellij-idea
37_oC1 天前
Idea自动生成mysql表DML语句
mysql·intellij-idea·dml
路在脚下@1 天前
IntelliJ IDEA的快捷键
java·ide·intellij-idea
我的K84091 天前
Flink的环境搭建及使用
大数据·flink·intellij-idea
北欧人写代码1 天前
idea java 项目右键new file时 为什么是 kotlin class 不是普通class
java·kotlin·intellij-idea
李少兄2 天前
IntelliJ IDEA 中创建目录时 `.` 和 `/` 的区别
java·ide·intellij-idea
李少兄2 天前
如何在 IntelliJ IDEA 中调整 `Ctrl+/` 快捷键生成注释的位置
java·ide·intellij-idea
尘浮生2 天前
Java项目实战II基于Java+Spring Boot+MySQL的高校办公室行政事务管理系统(源码+数据库+文档)
java·开发语言·数据库·spring boot·后端·maven·intellij-idea