java.lang.NoClassDefFoundError: org/elasticsearch/common/jackson/dataformat/yaml/snakeyaml/error/YAMLException

debian.org | 6 months ago
tip
Do you find the tips below useful? Click on the to mark them and say thanks to Rafael Fischer Viola and rafael . Or join the community to write better ones.
  1. 0

    #829078 - elasticsearch: service does not start (java.lang.NoClassDefFoundError) - Debian Bug report logs

    debian.org | 6 months ago
    java.lang.NoClassDefFoundError: org/elasticsearch/common/jackson/dataformat/yaml/snakeyaml/error/YAMLException
  2. 0

    GitHub comment 5114#261621433

    GitHub | 4 months ago | d4rkd0s
    java.lang.NoClassDefFoundError: org/elasticsearch/common/jackson/dataformat/yaml/snakeyaml/error/YAMLException
  3. 0

    Bug 902086 – Review request: Elasticsearch

    redhat.com | 1 year ago
    java.lang.NoClassDefFoundError: com/google/common/collect/ImmutableMap
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0
    samebug tip
    This exception normally means you either have to add the said class to your dependencies or you miswrote it. Look in the documentation of your library how to add it as a dependency.
  6. 0
    samebug tip
    If you're using Hibernate, this indicates you're missing FasterXML Classmate dependency, which you can add with the following: <groupId>com.fasterxml</groupId> <artifactId>classmate</artifactId> <version>1.0</version>

  1. rsprangemeijer 6 times, last 3 days ago
  2. marcbouvierdav 26 times, last 5 days ago
  3. batwalrus76 12 times, last 5 days ago
  4. musketyr 1 times, last 6 days ago
  5. SteVio1989 4 times, last 6 days ago
69 more registered users
26 unregistered visitors
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. java.lang.ClassNotFoundException

    org.elasticsearch.common.jackson.dataformat.yaml.snakeyaml.error.YAMLException

    at java.net.URLClassLoader.findClass()
  2. Java RT
    ClassLoader.loadClass
    1. java.net.URLClassLoader.findClass(URLClassLoader.java:381)
    2. java.lang.ClassLoader.loadClass(ClassLoader.java:424)
    3. sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:331)
    4. java.lang.ClassLoader.loadClass(ClassLoader.java:357)
    4 frames
  3. ElasticSearch
    Elasticsearch.main
    1. org.elasticsearch.common.jackson.dataformat.yaml.YAMLFactory._createParser(YAMLFactory.java:426)
    2. org.elasticsearch.common.jackson.dataformat.yaml.YAMLFactory.createParser(YAMLFactory.java:327)
    3. org.elasticsearch.common.xcontent.yaml.YamlXContent.createParser(YamlXContent.java:90)
    4. org.elasticsearch.common.settings.loader.XContentSettingsLoader.load(XContentSettingsLoader.java:45)
    5. org.elasticsearch.common.settings.loader.YamlSettingsLoader.load(YamlSettingsLoader.java:46)
    6. org.elasticsearch.common.settings.ImmutableSettings$Builder.loadFromStream(ImmutableSettings.java:982)
    7. org.elasticsearch.common.settings.ImmutableSettings$Builder.loadFromUrl(ImmutableSettings.java:969)
    8. org.elasticsearch.node.internal.InternalSettingsPreparer.prepareSettings(InternalSettingsPreparer.java:95)
    9. org.elasticsearch.bootstrap.Bootstrap.initialSettings(Bootstrap.java:144)
    10. org.elasticsearch.bootstrap.Bootstrap.main(Bootstrap.java:215)
    11. org.elasticsearch.bootstrap.Elasticsearch.main(Elasticsearch.java:32)
    11 frames