java.lang.NoClassDefFoundError: org.apache.spark.ml.attribute.Attribute

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

    Mllib test failed

    GitHub | 7 months ago | jiazhentim
    java.lang.NoClassDefFoundError: org.apache.spark.ml.attribute.Attribute
  2. 0
    samebug tip
    Look for missing class files, specially org.I0Itec.zkclient.IZkStateListener.
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

  4. 0

    A spring-cloud-starter-eureka-server project no longer runnable after being converted to Scala

    Stack Overflow | 1 year ago | TeeKai
    org.springframework.beans.factory.BeanDefinitionStoreException: Failed to read candidate component class: URL [jar:file:/Users/vewu/workspace/registration-discovery/build/libs/registration-discovery-0.0.1-SNAPSHOT.jar!/lib/spring-boot-autoconfigure-1.3.2.RELEASE.jar!/org/springframework/boot/autoconfigure/jdbc/DataSourceAutoConfiguration$JdbcTemplateConfiguration.class]; nested exception is java.lang.IllegalStateException: Could not evaluate condition on org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration$JdbcTemplateConfiguration due to org/springframework/dao/DataAccessException not found. Make sure your own configuration does not rely on that class. This can also happen if you are @ComponentScanning a springframework package (e.g. if you put a @ComponentScan in the default package by mistake)
  5. 0

    java.lang.ClassNotFoundException: org.springframework.dao.DataAccessException

    GitHub | 1 year ago | javabeat
    java.lang.IllegalStateException: Could not evaluate condition owing to internal class not found. This can happen if you are @ComponentScanning a springframework package (e.g. if you put a @ComponentScan in the default package by mistake)

  1. iferca 3 times, last 2 weeks ago
  2. andyglick 1 times, last 2 weeks ago
  3. Andreas Häber 2 times, last 2 weeks ago
  4. carloscharx 6 times, last 3 weeks ago
  5. poroszd 1 times, last 3 weeks ago
68 more registered users
27 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.apache.spark.ml.attribute.Attribute

    at java.net.URLClassLoader.findClass()
  2. Java RT
    ClassLoader.loadClass
    1. java.net.URLClassLoader.findClass(URLClassLoader.java:600)
    2. java.lang.ClassLoader.loadClassHelper(ClassLoader.java:786)
    3. java.lang.ClassLoader.loadClass(ClassLoader.java:764)
    4. java.lang.ClassLoader.loadClass(ClassLoader.java:741)
    4 frames
  3. mllib.perf
    TestRunner$$anonfun$2.apply
    1. mllib.perf.GLMRegressionTest.createInputData(MLAlgorithmTests.scala:119)
    2. mllib.perf.TestRunner$$anonfun$2.apply(TestRunner.scala:67)
    3. mllib.perf.TestRunner$$anonfun$2.apply(TestRunner.scala:66)
    3 frames
  4. Scala
    AbstractTraversable.map
    1. scala.collection.TraversableLike$$anonfun$map$1.apply(TraversableLike.scala:244)
    2. scala.collection.TraversableLike$$anonfun$map$1.apply(TraversableLike.scala:244)
    3. scala.collection.immutable.Range.foreach(Range.scala:141)
    4. scala.collection.TraversableLike$class.map(TraversableLike.scala:244)
    5. scala.collection.AbstractTraversable.map(Traversable.scala:105)
    5 frames
  5. mllib.perf
    TestRunner.main
    1. mllib.perf.TestRunner$.main(TestRunner.scala:66)
    2. mllib.perf.TestRunner.main(TestRunner.scala)
    2 frames
  6. Java RT
    Method.invoke
    1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:95)
    3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:56)
    4. java.lang.reflect.Method.invoke(Method.java:620)
    4 frames
  7. Spark
    SparkSubmit.main
    1. org.apache.spark.deploy.SparkSubmit$.org$apache$spark$deploy$SparkSubmit$$runMain(SparkSubmit.scala:569)
    2. org.apache.spark.deploy.SparkSubmit$.doRunMain$1(SparkSubmit.scala:166)
    3. org.apache.spark.deploy.SparkSubmit$.submit(SparkSubmit.scala:189)
    4. org.apache.spark.deploy.SparkSubmit$.main(SparkSubmit.scala:110)
    5. org.apache.spark.deploy.SparkSubmit.main(SparkSubmit.scala)
    5 frames