java.lang.NoClassDefFoundError: org/nd4j/linalg/api/blas/Blas

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

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.

Expert tip

This might be an issue with the file location in the Spark submit command. Try it with

spark-submit --master spark://master:7077 \ {file location}

Solutions on the web

via GitHub by rkraneis
, 1 year ago
via struts-user by Richard Yee, 1 year ago
org/apache/commons/logging/LogFactory at org.apache.struts.util.MessageResources.<clinit>( at org.apache.struts.taglib.logic.RedirectTag.<clinit>(
via Google Groups by Kristian Domagala, 4 months ago
via Google Groups by Mike Dillon, 2 years ago
via by Unknown author, 1 year ago
java.lang.ClassNotFoundException: org.nd4j.linalg.api.blas.Blas
at java.lang.ClassLoader.loadClass(
at sun.misc.Launcher$AppClassLoader.loadClass(
at java.lang.ClassLoader.loadClass(
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(
at org.nd4j.linalg.factory.Nd4j.initWithBackend(
at org.nd4j.linalg.factory.Nd4j.initContext(
at org.deeplearning4j.nn.conf.NeuralNetConfiguration$Builder.seed(
at com.example.ImageClassificationUsingCNN.AnimalsClassification.alexnetModel(
at com.example.ImageClassificationUsingCNN.AnimalsClassification.main(

Users with the same issue

51 times, 53 minutes ago
1427 times, 3 hours ago
Once, 19 hours ago
3 times, 1 day ago
Once, 2 days ago

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.