java.lang.NoClassDefFoundError: com/google/ protobuf/ProtocolMessageEnum


Samebug tips8

You might've forgot to add a dependency or it's written wrong. Also, you might be using incompatible versions of Java and Hibernate. More on this here: https://goo.gl/SjSlRA


7 months ago
Expert tip

Solutions on the web1031

Solution icon of googlegroups
via Google Groups by srajpal, 4 months ago
com/google/ protobuf/ProtocolMessageEnum

Solution icon of googlegroups
via Google Groups by Unknown author, 9 months ago
com/google/protobuf/MessageOrBuilder

Solution icon of googlegroups
via Google Groups by Hershiv Haria, 1 year ago
com/google/protobuf/GeneratedMessage

Solution icon of stackoverflow
com/google/protobuf/LiteralByteString

Solution icon of github
com/google/protobuf/GeneratedMessageV3

Solution icon of github
via GitHub by hassanrom
, 1 year ago
com/google/protobuf/GeneratedMessage

Solution icon of github
via GitHub by hassanrom
, 1 year ago
com/google/protobuf/GeneratedMessage

Solution icon of googlegroups
com/google/ protobuf/MessageOrBuilder

Solution icon of stackoverflow
com/google/protobuf/Internal$EnumLite

Stack trace

java.lang.NoClassDefFoundError: com/google/
protobuf/ProtocolMessageEnum
	at java.lang.ClassLoader.defineClass1(Native Method)
	at java.lang.ClassLoader.defineClass(Unknown Source)
	at java.security.SecureClassLoader.defineClass(Unknown Source)
	at java.net.URLClassLoader.defineClass(Unknown Source)
	at java.net.URLClassLoader.access$000(Unknown Source)
	at java.net.URLClassLoader$1.run(Unknown Source)
	at java.security.AccessController.doPrivileged(Native Method)
	at java.net.URLClassLoader.findClass(Unknown Source)
	at java.lang.ClassLoader.loadClass(Unknown Source)
	at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
	at java.lang.ClassLoader.loadClass(Unknown Source)
	at java.lang.ClassLoader.loadClassInternal(Unknown Source)
	at com.gc.android.market.api.RunMarketSearch.getNewestApps(RunMarketSearch.java:56)
	at com.gc.android.market.api.Main.main(Main.java:11)
Caused by: java.lang.ClassNotFoundException: com.google.protobuf.ProtocolMessageEnum
	at java.net.URLClassLoader$1.run(Unknown Source)
	at java.security.AccessController.doPrivileged(Native Method)
	at java.net.URLClassLoader.findClass(Unknown Source)
	at java.lang.ClassLoader.loadClass(Unknown Source)
	at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
	at java.lang.ClassLoader.loadClass(Unknown Source)
	at java.lang.ClassLoader.loadClassInternal(Unknown Source)
	... 14 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

Samebug visitor profile picture
Unknown user
Once, 1 week ago
Once, 2 weeks ago
Samebug visitor profile picture
Unknown user
Once, 3 weeks ago
Samebug visitor profile picture
Unknown user
Once, 3 weeks ago
Once, 1 month ago
1205 more bugmates