java.lang.NoClassDefFoundError

org/apache/spark/sql/catalyst/InternalRow

Samebug tips9

Check if you didn't forget to instantiate your topic in the kafka broker.

A few things cause this exception: 1) Check if you have all jars and if they're in the correct path when running. 2) Your classpath might be broken, you can define it in the command line with "java -cp yourClassPath" or at your IDE if you're using one.

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

Solutions on the web19388

  • via codegur.website by Unknown author, 11 months ago
    org/apache/spark/sql/catalyst/InternalRow
  • via GitHub by rebely
    , 6 months ago
    org/apache/spark/sql/catalyst/InternalRow
  • org/apache/spark/sql/catalyst/expressions/AggregateExpression
  • Stack trace

    • java.lang.NoClassDefFoundError: org/apache/spark/sql/catalyst/InternalRow at org.apache.spark.ml.feature.CountVectorizerParams$class.validateAndTransformSchema(CountVectorizer.scala:72) at org.apache.spark.ml.feature.CountVectorizer.validateAndTransformSchema(CountVectorizer.scala:107) at org.apache.spark.ml.feature.CountVectorizer.transformSchema(CountVectorizer.scala:168) at org.apache.spark.ml.PipelineStage.transformSchema(Pipeline.scala:62) at org.apache.spark.ml.feature.CountVectorizer.fit(CountVectorizer.scala:130) at main.CountVectorizer_Demo.main(CountVectorizer_Demo.java:39) Caused by: java.lang.ClassNotFoundException: org.apache.spark.sql.catalyst.InternalRow at java.net.URLClassLoader$1.run(URLClassLoader.java:366) at java.net.URLClassLoader$1.run(URLClassLoader.java:355) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(URLClassLoader.java:354) at java.lang.ClassLoader.loadClass(ClassLoader.java:425) at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308) at java.lang.ClassLoader.loadClass(ClassLoader.java:358) ... 6 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

    2 times, 5 months ago
    2 times, 6 months ago
    Unknown user
    Once, 6 months ago
    Once, 6 months ago
    Once, 10 months ago
    2376 more bugmates