java.lang.NoClassDefFoundError

com/google/ protobuf/ProtocolMessageEnum


Samebug tips8

This error means there's a class missing in your classpath during runtime. You need to create a jar with all your dependencies and have it in your classpath. Check Maven Assembly Plugin and how to add your dependencies to a jar: https://goo.gl/U2zr8k

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


Solutions on the web8795

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

Solution icon of github
com/google/protobuf/MessageLite

Solution icon of github
com/google/protobuf/ProtocolStringList

Solution icon of github
com/google/protobuf/ProtocolStringList

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

Solution icon of googlegroups
via Google Groups by Manuel, 3 months ago
com/google/protobuf/Message

Solution icon of stackoverflow
via Stack Overflow by H.Z.
, 1 year ago
com/google/protobuf/ServiceException

Solution icon of stackoverflow
com/google/protobuf/ServiceException

Solution icon of googlegroups
com/google/ protobuf/MessageOrBuilder

Solution icon of stackoverflow
com/google/protobuf/ServiceException

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, 6 days ago
Once, 1 week ago
Samebug visitor profile picture
Unknown user
Once, 1 month ago
4 times, 2 months ago
Once, 2 months ago
1197 more bugmates