Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Samebug tips

  1. ,

    A required library class, Doclet, is not loaded. It's usually found in tools.jar in the JDK so make sure to add it (tools.jar) to your project's build path.

  2. ,
    Expert tip

    A few things cause this exception:
    1) Check if you have all jars and if they're in the correct path.
    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.

Solutions on the web

via GitHub by jiazhentim
, 1 year ago
org.apache.spark.ml.attribute.Attribute
java.lang.ClassNotFoundException: org.apache.spark.ml.attribute.Attribute	at java.net.URLClassLoader.findClass(URLClassLoader.java:600)	at java.lang.ClassLoader.loadClassHelper(ClassLoader.java:786)	at java.lang.ClassLoader.loadClass(ClassLoader.java:764)	at java.lang.ClassLoader.loadClass(ClassLoader.java:741)	at mllib.perf.GLMRegressionTest.createInputData(MLAlgorithmTests.scala:119)	at mllib.perf.TestRunner$$anonfun$2.apply(TestRunner.scala:67)	at mllib.perf.TestRunner$$anonfun$2.apply(TestRunner.scala:66)	at scala.collection.TraversableLike$$anonfun$map$1.apply(TraversableLike.scala:244)	at scala.collection.TraversableLike$$anonfun$map$1.apply(TraversableLike.scala:244)	at scala.collection.immutable.Range.foreach(Range.scala:141)	at scala.collection.TraversableLike$class.map(TraversableLike.scala:244)	at scala.collection.AbstractTraversable.map(Traversable.scala:105)	at mllib.perf.TestRunner$.main(TestRunner.scala:66)	at mllib.perf.TestRunner.main(TestRunner.scala)	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:95)	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:56)	at java.lang.reflect.Method.invoke(Method.java:620)	at org.apache.spark.deploy.SparkSubmit$.org$apache$spark$deploy$SparkSubmit$$runMain(SparkSubmit.scala:569)	at org.apache.spark.deploy.SparkSubmit$.doRunMain$1(SparkSubmit.scala:166)	at org.apache.spark.deploy.SparkSubmit$.submit(SparkSubmit.scala:189)	at org.apache.spark.deploy.SparkSubmit$.main(SparkSubmit.scala:110)	at org.apache.spark.deploy.SparkSubmit.main(SparkSubmit.scala)