org.apache.maven.InternalErrorException: Internal error: java.lang.ClassCastException: org.codehaus.plexus.util.xml.Xpp3Dom cannot be cast to org.codehaus.plexus.util.xml.Xpp3Dom

GitHub | sviperll | 6 months ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    GitHub comment 738#240128818

    GitHub | 6 months ago | sviperll
    org.apache.maven.InternalErrorException: Internal error: java.lang.ClassCastException: org.codehaus.plexus.util.xml.Xpp3Dom cannot be cast to org.codehaus.plexus.util.xml.Xpp3Dom

    Root Cause Analysis

    1. java.lang.ClassCastException

      org.codehaus.plexus.util.xml.Xpp3Dom cannot be cast to org.codehaus.plexus.util.xml.Xpp3Dom

      at com.simpligility.maven.plugins.android.common.PomConfigurationHelper.getMojoConfiguration()
    2. com.simpligility.maven
      ClasspathModifierLifecycleParticipant.afterProjectsRead
      1. com.simpligility.maven.plugins.android.common.PomConfigurationHelper.getMojoConfiguration(PomConfigurationHelper.java:48)
      2. com.simpligility.maven.plugins.android.common.PomConfigurationHelper.getPluginConfigParameter(PomConfigurationHelper.java:25)
      3. com.simpligility.maven.plugins.android.phase_prebuild.ClasspathModifierLifecycleParticipant.getMojoConfigurationParameter(ClasspathModifierLifecycleParticipant.java:212)
      4. com.simpligility.maven.plugins.android.phase_prebuild.ClasspathModifierLifecycleParticipant.afterProjectsRead(ClasspathModifierLifecycleParticipant.java:118)
      4 frames
    3. Maven Core
      DefaultMaven.execute
      1. org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:266)
      2. org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:193)
      3. org.apache.maven.DefaultMaven.execute(DefaultMaven.java:106)
      3 frames
    4. M3 Interceptor
      MavenCli.main
      1. org.apache.maven.cli.MavenCli.execute(MavenCli.java:863)
      2. org.apache.maven.cli.MavenCli.doMain(MavenCli.java:288)
      3. org.apache.maven.cli.MavenCli.main(MavenCli.java:199)
      3 frames
    5. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      4. java.lang.reflect.Method.invoke(Method.java:497)
      4 frames
    6. Plexus
      Launcher.main
      1. org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:289)
      2. org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:229)
      3. org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:415)
      4. org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:356)
      4 frames