java.lang.NoClassDefFoundError

io/druid/indexing/common/task/AbstractTask


Samebug tips5

Set the path for java. Try to look it from here.

Needs to add netty-transport-native-epoll with a OS classifier to the classpath, it's not included in netty-all

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


Solutions on the web2652

Solution icon of googlegroups
via Google Groups by Colin Brown, 7 months ago
io/druid/indexing/common/task/ AbstractTask

Solution icon of github
io/druid/indexing/common/task/AbstractTask

Solution icon of googlegroups
via Google Groups by Gian Merlino, 3 months ago
io/druid/java/util/common/IAE

Solution icon of googlegroups
via Google Groups by Colin Brown, 6 months ago
io/druid/java/util/common/parsers/ ParseException

Solution icon of github
via GitHub by rasahner
, 1 year ago
io/druid/initialization/DruidModule

Solution icon of googlegroups
via Google Groups by Jary Zhen, 6 months ago
io/druid/query/lookup/LookupExtractorFactory

Solution icon of github
via GitHub by kokosing
, 3 months ago
com/google/common/io/InputSupplier

Solution icon of github
via GitHub by cristianoub
, 1 year ago
io/confluent/common/config/AbstractConfig

Solution icon of apache
via hbase-user by Kristoffer Sjögren, 1 year ago
com/google/common/io/NullOutputStream

Stack trace

  • java.lang.NoClassDefFoundError: io/druid/indexing/common/task/AbstractTask at java.lang.ClassLoader.defineClass1(Native Method)[na:1.8.0_45] at java.lang.ClassLoader.defineClass(ClassLoader.java:760)[na:1.8.0_45] at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)[na:1.8.0_45] at java.net.URLClassLoader.defineClass(URLClassLoader.java:467)[na:1.8.0_45] at java.net.URLClassLoader.access$100(URLClassLoader.java:73)[na:1.8.0_45] at java.net.URLClassLoader$1.run(URLClassLoader.java:368)[na:1.8.0_45] at java.net.URLClassLoader$1.run(URLClassLoader.java:362)[na:1.8.0_45] at java.security.AccessController.doPrivileged(Native Method)[na:1.8.0_45] at java.net.URLClassLoader.findClass(URLClassLoader.java:361)[na:1.8.0_45] at java.lang.ClassLoader.loadClass(ClassLoader.java:424)[na:1.8.0_45] at java.lang.ClassLoader.loadClass(ClassLoader.java:357)[na:1.8.0_45] at io.druid.indexing.kafka.KafkaIndexTaskModule.getJacksonModules(KafkaIndexTaskModule.java:39)[na:na] at com.metamx.tranquility.druid.DruidGuicer.registerWithJackson$1(DruidGuicer.scala:80)[io.druid.tranquility-core-0.8.2.jar:0.8.2] at com.metamx.tranquility.druid.DruidGuicer.com$metamx$tranquility$druid$DruidGuicer$$toGuiceModule$1(DruidGuicer.scala:89)[io.druid.tranquility-core-0.8.2.jar:0.8.2] at com.metamx.tranquility.druid.DruidGuicer$$anonfun$3.apply(DruidGuicer.scala:127)[io.druid.tranquility-core-0.8.2.jar:0.8.2] at com.metamx.tranquility.druid.DruidGuicer$$anonfun$3.apply(DruidGuicer.scala:127)[io.druid.tranquility-core-0.8.2.jar:0.8.2] at scala.collection.immutable.Stream$$anonfun$map$1.apply(Stream.scala:418)[org.scala-lang.scala-library-2.11.7.jar:na] at scala.collection.immutable.Stream$$anonfun$map$1.apply(Stream.scala:418)[org.scala-lang.scala-library-2.11.7.jar:na] at scala.collection.immutable.Stream$Cons.tail(Stream.scala:1233)[org.scala-lang.scala-library-2.11.7.jar:na] at scala.collection.immutable.Stream$Cons.tail(Stream.scala:1223)[org.scala-lang.scala-library-2.11.7.jar:na] at scala.collection.generic.Growable$class.loop$1(Growable.scala:54)[org.scala-lang.scala-library-2.11.7.jar:na] at scala.collection.generic.Growable$class.$plus$plus$eq(Growable.scala:57)[org.scala-lang.scala-library-2.11.7.jar:na] at scala.collection.mutable.ListBuffer.$plus$plus$eq(ListBuffer.scala:183)[org.scala-lang.scala-library-2.11.7.jar:na] at scala.collection.mutable.ListBuffer.$plus$plus$eq(ListBuffer.scala:45)[org.scala-lang.scala-library-2.11.7.jar:na] at scala.collection.TraversableLike$class.$plus$plus(TraversableLike.scala:158)[org.scala-lang.scala-library-2.11.7.jar:na] at scala.collection.immutable.List.$plus$plus(List.scala:196)[org.scala-lang.scala-library-2.11.7.jar:na] at com.metamx.tranquility.druid.DruidGuicer.<init>(DruidGuicer.scala:128)[io.druid.tranquility-core-0.8.2.jar:0.8.2] at com.metamx.tranquility.druid.DruidGuicer$.<init>(DruidGuicer.scala:138)[io.druid.tranquility-core-0.8.2.jar:0.8.2] at com.metamx.tranquility.druid.DruidGuicer$.<clinit>(DruidGuicer.scala)[io.druid.tranquility-core-0.8.2.jar:0.8.2] at com.metamx.tranquility.druid.DruidBeams$.makeFireDepartment(DruidBeams.scala:433)[io.druid.tranquility-core-0.8.2.jar:0.8.2] at com.metamx.tranquility.druid.DruidBeams$.fromConfigInternal(DruidBeams.scala:299)[io.druid.tranquility-core-0.8.2.jar:0.8.2] at com.metamx.tranquility.druid.DruidBeams$.fromConfig(DruidBeams.scala:204)[io.druid.tranquility-core-0.8.2.jar:0.8.2] at com.metamx.tranquility.kafka.KafkaBeamUtils$.createTranquilizer(KafkaBeamUtils.scala:40)[io.druid.tranquility-kafka-0.8.2.jar:0.8.2] at com.metamx.tranquility.kafka.KafkaBeamUtils.createTranquilizer(KafkaBeamUtils.scala)[io.druid.tranquility-kafka-0.8.2.jar:0.8.2] at com.metamx.tranquility.kafka.writer.TranquilityEventWriter.<init>(TranquilityEventWriter.java:64)[io.druid.tranquility-kafka-0.8.2.jar:0.8.2] at com.metamx.tranquility.kafka.writer.WriterController.createWriter(WriterController.java:171)[io.druid.tranquility-kafka-0.8.2.jar:0.8.2] at com.metamx.tranquility.kafka.writer.WriterController.getWriter(WriterController.java:98)[io.druid.tranquility-kafka-0.8.2.jar:0.8.2] at com.metamx.tranquility.kafka.KafkaConsumer$2.run(KafkaConsumer.java:231)[io.druid.tranquility-kafka-0.8.2.jar:0.8.2] at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)[na:1.8.0_45] at java.util.concurrent.FutureTask.run(FutureTask.java:266)[na:1.8.0_45] at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)[na:1.8.0_45] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)[na:1.8.0_45] at java.lang.Thread.run(Thread.java:745)[na:1.8.0_45] Caused by: java.lang.ClassNotFoundException: io.druid.indexing.common.task.AbstractTask at java.net.URLClassLoader.findClass(URLClassLoader.java:381)[na:1.8.0_45] at java.lang.ClassLoader.loadClass(ClassLoader.java:424)[na:1.8.0_45] at java.lang.ClassLoader.loadClass(ClassLoader.java:357)[na:1.8.0_45] ... 43 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

19 times, 8 months ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
2 times, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
1595 more bugmates