java.lang.NoClassDefFoundError

Could not initialize class org.bytedeco.javacpp.cudnn

Samebug tips0

There are no available Samebug tips for this exception. If you know how to solve this issue, help other users by writing a short tip.

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

Solutions on the web5303

  • via GitHub by jfolt
    , 1 year ago
    Could not initialize class org.bytedeco.javacpp.cudnn
  • Could not initialize class org.bytedeco.javacpp.cudnn
  • Could not initialize class org.bytedeco.javacpp.cudnn
  • Stack trace

    • java.lang.NoClassDefFoundError: Could not initialize class org.bytedeco.javacpp.cudnn at org.deeplearning4j.nn.layers.convolution.subsampling.CudnnSubsamplingHelper$CudnnContext.createHandles(CudnnSubsamplingHelper.java:89)[deeplearning4j-cuda-7.5-0.5.0.jar:na] at org.deeplearning4j.nn.layers.convolution.subsampling.CudnnSubsamplingHelper$CudnnContext.<init>(CudnnSubsamplingHelper.java:76)[deeplearning4j-cuda-7.5-0.5.0.jar:na] at org.deeplearning4j.nn.layers.convolution.subsampling.CudnnSubsamplingHelper.<init>(CudnnSubsamplingHelper.java:105)[deeplearning4j-cuda-7.5-0.5.0.jar:na] at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)[na:1.8.0_65] at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)[na:1.8.0_65]

    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

    You’re the first here who have seen this exception.