Skip to content

Instantly share code, notes, and snippets.

@ragnarok22
Created June 13, 2018 16:09
Show Gist options
  • Save ragnarok22/e578759a2b7035f11c41a4a871e414d8 to your computer and use it in GitHub Desktop.
Save ragnarok22/e578759a2b7035f11c41a4a871e414d8 to your computer and use it in GitHub Desktop.
Exception in thread "main" java.lang.NoClassDefFoundError: com/github/os72/protobuf351/MessageOrBuilder
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:760)
at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)
at java.net.URLClassLoader.defineClass(URLClassLoader.java:467)
at java.net.URLClassLoader.access$100(URLClassLoader.java:73)
at java.net.URLClassLoader$1.run(URLClassLoader.java:368)
at java.net.URLClassLoader$1.run(URLClassLoader.java:362)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:361)
at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:331)
at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:760)
at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)
at java.net.URLClassLoader.defineClass(URLClassLoader.java:467)
at java.net.URLClassLoader.access$100(URLClassLoader.java:73)
at java.net.URLClassLoader$1.run(URLClassLoader.java:368)
at java.net.URLClassLoader$1.run(URLClassLoader.java:362)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:361)
at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:331)
at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
at java.lang.Class.getDeclaredMethods0(Native Method)
at java.lang.Class.privateGetDeclaredMethods(Class.java:2701)
at java.lang.Class.getDeclaredMethods(Class.java:1975)
at org.nd4j.shade.jackson.databind.introspect.AnnotatedClass._addMemberMethods(AnnotatedClass.java:601)
at org.nd4j.shade.jackson.databind.introspect.AnnotatedClass.resolveMemberMethods(AnnotatedClass.java:429)
at org.nd4j.shade.jackson.databind.introspect.AnnotatedClass.memberMethods(AnnotatedClass.java:251)
at org.nd4j.shade.jackson.databind.introspect.POJOPropertiesCollector._addMethods(POJOPropertiesCollector.java:512)
at org.nd4j.shade.jackson.databind.introspect.POJOPropertiesCollector.collect(POJOPropertiesCollector.java:244)
at org.nd4j.shade.jackson.databind.introspect.BasicClassIntrospector.collectProperties(BasicClassIntrospector.java:197)
at org.nd4j.shade.jackson.databind.introspect.BasicClassIntrospector.forSerialization(BasicClassIntrospector.java:90)
at org.nd4j.shade.jackson.databind.introspect.BasicClassIntrospector.forSerialization(BasicClassIntrospector.java:15)
at org.nd4j.shade.jackson.databind.SerializationConfig.introspect(SerializationConfig.java:695)
at org.nd4j.shade.jackson.databind.ser.BeanSerializerFactory.createSerializer(BeanSerializerFactory.java:133)
at org.nd4j.shade.jackson.databind.SerializerProvider._createUntypedSerializer(SerializerProvider.java:1152)
at org.nd4j.shade.jackson.databind.SerializerProvider._createAndCacheUntypedSerializer(SerializerProvider.java:1112)
at org.nd4j.shade.jackson.databind.SerializerProvider.findPrimaryPropertySerializer(SerializerProvider.java:624)
at org.nd4j.shade.jackson.databind.ser.impl.PropertySerializerMap.findAndAddPrimarySerializer(PropertySerializerMap.java:64)
at org.nd4j.shade.jackson.databind.ser.BeanPropertyWriter._findAndAddDynamic(BeanPropertyWriter.java:738)
at org.nd4j.shade.jackson.databind.ser.BeanPropertyWriter.serializeAsField(BeanPropertyWriter.java:553)
at org.nd4j.shade.jackson.databind.ser.std.BeanSerializerBase.serializeFields(BeanSerializerBase.java:663)
at org.nd4j.shade.jackson.databind.ser.std.BeanSerializerBase.serializeWithType(BeanSerializerBase.java:549)
at org.nd4j.shade.jackson.databind.ser.BeanPropertyWriter.serializeAsField(BeanPropertyWriter.java:577)
at org.nd4j.shade.jackson.databind.ser.std.BeanSerializerBase.serializeFields(BeanSerializerBase.java:663)
at org.nd4j.shade.jackson.databind.ser.BeanSerializer.serialize(BeanSerializer.java:156)
at org.nd4j.shade.jackson.databind.ser.impl.IndexedListSerializer.serializeContents(IndexedListSerializer.java:113)
at org.nd4j.shade.jackson.databind.ser.impl.IndexedListSerializer.serialize(IndexedListSerializer.java:73)
at org.nd4j.shade.jackson.databind.ser.impl.IndexedListSerializer.serialize(IndexedListSerializer.java:19)
at org.nd4j.shade.jackson.databind.ser.BeanPropertyWriter.serializeAsField(BeanPropertyWriter.java:575)
at org.nd4j.shade.jackson.databind.ser.std.BeanSerializerBase.serializeFields(BeanSerializerBase.java:663)
at org.nd4j.shade.jackson.databind.ser.BeanSerializer.serialize(BeanSerializer.java:156)
at org.nd4j.shade.jackson.databind.ser.DefaultSerializerProvider.serializeValue(DefaultSerializerProvider.java:129)
at org.nd4j.shade.jackson.databind.ObjectMapper._configAndWriteValue(ObjectMapper.java:3385)
at org.nd4j.shade.jackson.databind.ObjectMapper.writeValueAsString(ObjectMapper.java:2779)
at org.deeplearning4j.nn.conf.MultiLayerConfiguration.toJson(MultiLayerConfiguration.java:126)
at org.deeplearning4j.util.ModelSerializer.writeModel(ModelSerializer.java:123)
at org.deeplearning4j.util.ModelSerializer.writeModel(ModelSerializer.java:74)
at org.deeplearning4j.util.ModelSerializer.writeModel(ModelSerializer.java:59)
at org.deeplearning4j.nn.multilayer.MultiLayerNetwork.save(MultiLayerNetwork.java:3351)
at org.deeplearning4j.nn.multilayer.MultiLayerNetwork.save(MultiLayerNetwork.java:3338)
at net.sf.jclal.deeplearning.DLTestingTalla.mnistWithDL4J(DLTestingTalla.java:163)
at net.sf.jclal.deeplearning.DLTestingTalla.main(DLTestingTalla.java:77)
Caused by: java.lang.ClassNotFoundException: com.github.os72.protobuf351.MessageOrBuilder
at java.net.URLClassLoader.findClass(URLClassLoader.java:381)
at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:331)
at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
... 65 more
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment