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. ,
    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.

  2. ,

    you can change your scala version to 2.11.11

java.lang.NoClassDefFoundError: org/xerial/snappy/LoadSnappy at htsjdk.samtools.util.SnappyLoader.<init>( at htsjdk.samtools.util.SnappyLoader.<init>( at htsjdk.samtools.util.TempStreamFactory.getSnappyLoader( at htsjdk.samtools.util.TempStreamFactory.wrapTempOutputStream( at htsjdk.samtools.util.SortingCollection.spillToDisk( at htsjdk.samtools.util.SortingCollection.add( at htsjdk.samtools.SAMFileWriterImpl.addAlignment( at htsjdk.samtools.AsyncSAMFileWriter.synchronouslyWrite( at htsjdk.samtools.AsyncSAMFileWriter.synchronouslyWrite( at htsjdk.samtools.util.AbstractAsyncWriter$ at by: java.lang.ClassNotFoundException: org.xerial.snappy.LoadSnappy at at java.lang.ClassLoader.loadClass( at sun.misc.Launcher$AppClassLoader.loadClass( at java.lang.ClassLoader.loadClass( ... 11 more