Not able to install intelij (any of 2024 version and 2023)

已回答

Getting below error while trying to run build from idea

 file:/C:/Program%20Files/JetBrains/IntelliJ%20IDEA%20Community%20Edition%202023.3.7/plugins/maven/lib/maven3/lib/wagon-http-3.5.3.jar
Exception in thread "main" constituent[46]: file:/C:/Program%20Files/JetBrains/IntelliJ%20IDEA%20Community%20Edition%202023.3.7/plugins/maven/lib/maven3/lib/wagon-http-3.5.3.jar
Exception in thread "main" java.lang.NoClassDefFoundError: org/codehaus/plexus/util/StringUtils
    at com.github.odavid.maven.plugins.MixinModelCache.checkMixinVersion(MixinModelCache.java:96)
    at com.github.odavid.maven.plugins.MixinModelCache.getModel(MixinModelCache.java:46)
    at com.github.odavid.maven.plugins.MixinsProjectLoader.fillMixins(MixinsProjectLoader.java:231)
    at com.github.odavid.maven.plugins.MixinsProjectLoader.mergeMixins(MixinsProjectLoader.java:90)
    at com.github.odavid.maven.plugins.MixinMavenLifecycleParticipant.afterProjectsRead(MixinMavenLifecycleParticipant.java:72)
    at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:223)
    at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:173)
    at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:101)
    at org.apache.maven.cli.MavenCli.execute(MavenCli.java:906)
    at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:283)
    at org.apache.maven.cli.MavenCli.main(MavenCli.java:206)
    at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
    at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.base/java.lang.reflect.Method.invoke(Method.java:568)
    at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:283)
    at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:226)
    at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:407)
    at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:348)
    at org.codehaus.classworlds.Launcher.main(Launcher.java:47)
Caused by: java.lang.ClassNotFoundException: org.codehaus.plexus.util.StringUtils
    at org.codehaus.plexus.classworlds.strategy.SelfFirstStrategy.loadClass(SelfFirstStrategy.java:50)
    at org.codehaus.plexus.classworlds.realm.ClassRealm.unsynchronizedLoadClass(ClassRealm.java:271)
    at org.codehaus.plexus.classworlds.realm.ClassRealm.loadClass(ClassRealm.java:247)
    at org.codehaus.plexus.classworlds.realm.ClassRealm.loadClass(ClassRealm.java:239)
    ... 20 more
 

0

Hello,

Could you please attach screenshot from “Settings | Build, Execution, Deployment | Build Tools | Maven | Runner”? Have you tried to run “build” goal from maven tool window? 

0

Older version like(2022) works fine.

0

Is it reproducible with every project? Is it possible to share sample project for investigation?

0

yes It is reproducible with many projects, and also whole team is facing this issue. I m sorry I can not share sample project

0

Could you please provide information from “Help | About” (click on Copy and paste data here)?

0

IntelliJ IDEA 2024.1.3 (Community Edition)
Build #IC-241.17890.1, built on June 4, 2024
Runtime version: 17.0.11+1-b1207.24 amd64
VM: OpenJDK 64-Bit Server VM by JetBrains s.r.o.
Windows 11.0
GC: G1 Young Generation, G1 Old Generation
Memory: 4050M
Cores: 12
Registry:
 ide.experimental.ui=true
Kotlin: 241.17890.1-IJ
 

0

Looks like issue is caused by “com.github.odavid.maven.plugin”.  Could you please try to create new Maven project (without this plugin) and build it?

0

请先登录再写评论。