java.lang.NoClassDefFoundError: org/cyberneko/html/parsers/DOMFragmentParser

Pentaho BI Platform Tracking | Slawomir Chodnicki | 4 years 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

    The RSS step cannot find its runtime dependencies. Attaching simple reproduction transformation. 2013/04/04 10:30:13 - RSS Input.0 - ERROR (version TRUNK-SNAPSHOT, build 1 from 2013-04-04 09.41.57 by slawo) : Unexpected error 2013/04/04 10:30:13 - RSS Input.0 - ERROR (version TRUNK-SNAPSHOT, build 1 from 2013-04-04 09.41.57 by slawo) : java.lang.NoClassDefFoundError: org/cyberneko/html/parsers/DOMFragmentParser 2013/04/04 10:30:13 - RSS Input.0 - at it.sauronsoftware.feed4j.html.HTMLOptimizer.optimize(HTMLOptimizer.java:99) 2013/04/04 10:30:13 - RSS Input.0 - at it.sauronsoftware.feed4j.TypeRSS_2_0.handleItem(TypeRSS_2_0.java:164) 2013/04/04 10:30:13 - RSS Input.0 - at it.sauronsoftware.feed4j.TypeRSS_2_0.feed(TypeRSS_2_0.java:96) 2013/04/04 10:30:13 - RSS Input.0 - at it.sauronsoftware.feed4j.FeedParser.parse(FeedParser.java:44) 2013/04/04 10:30:13 - RSS Input.0 - at org.pentaho.di.trans.steps.rssinput.RssInput.readNextUrl(RssInput.java:168) 2013/04/04 10:30:13 - RSS Input.0 - at org.pentaho.di.trans.steps.rssinput.RssInput.getOneRow(RssInput.java:200) 2013/04/04 10:30:13 - RSS Input.0 - at org.pentaho.di.trans.steps.rssinput.RssInput.processRow(RssInput.java:324) 2013/04/04 10:30:13 - RSS Input.0 - at org.pentaho.di.trans.step.RunThread.run(RunThread.java:60) 2013/04/04 10:30:13 - RSS Input.0 - at java.lang.Thread.run(Thread.java:680) 2013/04/04 10:30:13 - RSS Input.0 - Caused by: java.lang.ClassNotFoundException: org.cyberneko.html.parsers.DOMFragmentParser 2013/04/04 10:30:13 - RSS Input.0 - at java.net.URLClassLoader$1.run(URLClassLoader.java:202) 2013/04/04 10:30:13 - RSS Input.0 - at java.security.AccessController.doPrivileged(Native Method) 2013/04/04 10:30:13 - RSS Input.0 - at java.net.URLClassLoader.findClass(URLClassLoader.java:190) 2013/04/04 10:30:13 - RSS Input.0 - at java.lang.ClassLoader.loadClass(ClassLoader.java:306) 2013/04/04 10:30:13 - RSS Input.0 - at java.lang.ClassLoader.loadClass(ClassLoader.java:247) 2013/04/04 10:30:13 - RSS Input.0 - ... 9 more

    Pentaho BI Platform Tracking | 4 years ago | Slawomir Chodnicki
    java.lang.NoClassDefFoundError: org/cyberneko/html/parsers/DOMFragmentParser
  2. 0

    The RSS step cannot find its runtime dependencies. Attaching simple reproduction transformation. 2013/04/04 10:30:13 - RSS Input.0 - ERROR (version TRUNK-SNAPSHOT, build 1 from 2013-04-04 09.41.57 by slawo) : Unexpected error 2013/04/04 10:30:13 - RSS Input.0 - ERROR (version TRUNK-SNAPSHOT, build 1 from 2013-04-04 09.41.57 by slawo) : java.lang.NoClassDefFoundError: org/cyberneko/html/parsers/DOMFragmentParser 2013/04/04 10:30:13 - RSS Input.0 - at it.sauronsoftware.feed4j.html.HTMLOptimizer.optimize(HTMLOptimizer.java:99) 2013/04/04 10:30:13 - RSS Input.0 - at it.sauronsoftware.feed4j.TypeRSS_2_0.handleItem(TypeRSS_2_0.java:164) 2013/04/04 10:30:13 - RSS Input.0 - at it.sauronsoftware.feed4j.TypeRSS_2_0.feed(TypeRSS_2_0.java:96) 2013/04/04 10:30:13 - RSS Input.0 - at it.sauronsoftware.feed4j.FeedParser.parse(FeedParser.java:44) 2013/04/04 10:30:13 - RSS Input.0 - at org.pentaho.di.trans.steps.rssinput.RssInput.readNextUrl(RssInput.java:168) 2013/04/04 10:30:13 - RSS Input.0 - at org.pentaho.di.trans.steps.rssinput.RssInput.getOneRow(RssInput.java:200) 2013/04/04 10:30:13 - RSS Input.0 - at org.pentaho.di.trans.steps.rssinput.RssInput.processRow(RssInput.java:324) 2013/04/04 10:30:13 - RSS Input.0 - at org.pentaho.di.trans.step.RunThread.run(RunThread.java:60) 2013/04/04 10:30:13 - RSS Input.0 - at java.lang.Thread.run(Thread.java:680) 2013/04/04 10:30:13 - RSS Input.0 - Caused by: java.lang.ClassNotFoundException: org.cyberneko.html.parsers.DOMFragmentParser 2013/04/04 10:30:13 - RSS Input.0 - at java.net.URLClassLoader$1.run(URLClassLoader.java:202) 2013/04/04 10:30:13 - RSS Input.0 - at java.security.AccessController.doPrivileged(Native Method) 2013/04/04 10:30:13 - RSS Input.0 - at java.net.URLClassLoader.findClass(URLClassLoader.java:190) 2013/04/04 10:30:13 - RSS Input.0 - at java.lang.ClassLoader.loadClass(ClassLoader.java:306) 2013/04/04 10:30:13 - RSS Input.0 - at java.lang.ClassLoader.loadClass(ClassLoader.java:247) 2013/04/04 10:30:13 - RSS Input.0 - ... 9 more

    Pentaho BI Platform Tracking | 4 years ago | Slawomir Chodnicki
    java.lang.NoClassDefFoundError: org/cyberneko/html/parsers/DOMFragmentParser
  3. 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.
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 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>
  6. 0
    samebug tip
    This was caused by a failure to instantiate Kafka broker. Check your dependencies.
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.cyberneko.html.parsers.DOMFragmentParser

    at java.net.URLClassLoader$1.run()
  2. Java RT
    ClassLoader.loadClass
    1. java.net.URLClassLoader$1.run(URLClassLoader.java:202)
    2. java.security.AccessController.doPrivileged(Native Method)
    3. java.net.URLClassLoader.findClass(URLClassLoader.java:190)
    4. java.lang.ClassLoader.loadClass(ClassLoader.java:306)
    5. java.lang.ClassLoader.loadClass(ClassLoader.java:247)
    5 frames
  3. it.sauronsoftware.feed4j
    FeedParser.parse
    1. it.sauronsoftware.feed4j.html.HTMLOptimizer.optimize(HTMLOptimizer.java:99)
    2. it.sauronsoftware.feed4j.TypeRSS_2_0.handleItem(TypeRSS_2_0.java:164)
    3. it.sauronsoftware.feed4j.TypeRSS_2_0.feed(TypeRSS_2_0.java:96)
    4. it.sauronsoftware.feed4j.FeedParser.parse(FeedParser.java:44)
    4 frames
  4. org.pentaho.di
    RunThread.run
    1. org.pentaho.di.trans.steps.rssinput.RssInput.readNextUrl(RssInput.java:168)
    2. org.pentaho.di.trans.steps.rssinput.RssInput.getOneRow(RssInput.java:200)
    3. org.pentaho.di.trans.steps.rssinput.RssInput.processRow(RssInput.java:324)
    4. org.pentaho.di.trans.step.RunThread.run(RunThread.java:60)
    4 frames
  5. Java RT
    Thread.run
    1. java.lang.Thread.run(Thread.java:680)
    1 frame