java.lang.NoClassDefFoundError

org/apache/maven/model/io/xpp3/MavenXpp3Reader

Samebug tips8

You might've forgot to add a dependency or it's written wrong. Also, you might be using incompatible versions of Java and Hibernate. More on this here: https://goo.gl/SjSlRA

This error means there's a class missing in your classpath during runtime. You need to create a jar with all your dependencies and have it in your classpath. Check Maven Assembly Plugin and how to add your dependencies to a jar: https://goo.gl/U2zr8k

Don't give up yet. Our experts can help. Paste your full stack trace to get a solution.

Solutions on the web19943

  • via GitHub by ithiru
    , 8 months ago
    org/apache/maven/model/io/xpp3/MavenXpp3Reader
  • via Sonatype JIRA by Deleted User, 1 year ago
    org/apache/maven/model/io/xpp3/MavenXpp3Reader
  • via Sonatype JIRA by Deleted User, 1 year ago
    org/apache/maven/model/io/xpp3/MavenXpp3Reader
  • Stack trace

    • java.lang.NoClassDefFoundError: org/apache/maven/model/io/xpp3/MavenXpp3Reader at org.sonatype.nexus.proxy.maven.metadata.AbstractMetadataHelper.updateMavenInfo(AbstractMetadataHelper.java:197) at org.sonatype.nexus.proxy.maven.metadata.AbstractMetadataHelper.processFile(AbstractMetadataHelper.java:115) at org.sonatype.nexus.tools.metadata.DefaultMetadataRebuilder.walk(DefaultMetadataRebuilder.java:60) at org.sonatype.nexus.tools.metadata.DefaultMetadataRebuilder.walk(DefaultMetadataRebuilder.java:69) at org.sonatype.nexus.tools.metadata.DefaultMetadataRebuilder.walk(DefaultMetadataRebuilder.java:69) at org.sonatype.nexus.tools.metadata.DefaultMetadataRebuilder.walk(DefaultMetadataRebuilder.java:69) at org.sonatype.nexus.tools.metadata.DefaultMetadataRebuilder.walk(DefaultMetadataRebuilder.java:69) at org.sonatype.nexus.tools.metadata.DefaultMetadataRebuilder.walk(DefaultMetadataRebuilder.java:69) at org.sonatype.nexus.tools.metadata.DefaultMetadataRebuilder.walk(DefaultMetadataRebuilder.java:69) at org.sonatype.nexus.tools.metadata.DefaultMetadataRebuilder.rebuildMetadata(DefaultMetadataRebuilder.java:46) at org.sonatype.nexus.tools.metadata.MetadataRebuildCli.rebuildMetadata(MetadataRebuildCli.java:123) at org.sonatype.nexus.tools.metadata.MetadataRebuildCli.invokePlexusComponent(MetadataRebuildCli.java:85) at org.codehaus.plexus.tools.cli.AbstractCli.execute(AbstractCli.java:161) at org.codehaus.plexus.tools.cli.AbstractCli.execute(AbstractCli.java:67) at org.sonatype.nexus.tools.metadata.MetadataRebuildCli.main(MetadataRebuildCli.java:66) Caused by: java.lang.ClassNotFoundException: org.apache.maven.model.io.xpp3.MavenXpp3Reader at java.net.URLClassLoader$1.run(URLClassLoader.java:217) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(URLClassLoader.java:205) at java.lang.ClassLoader.loadClass(ClassLoader.java:323) at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:294) at java.lang.ClassLoader.loadClass(ClassLoader.java:268) at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:336) ... 15 more

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    Unknown user
    Once, 10 months ago
    Unknown user
    Once, 1 year ago
    Unknown user
    Once, 1 year ago
    Unknown user
    Once, 1 year ago
    Unknown user
    Once, 1 year ago
    1189 more bugmates