java.lang.NoClassDefFoundError

com/google/protobuf/MessageOrBuilder


Samebug tips5

Set the path for java. Try to look it from here.

Needs to add netty-transport-native-epoll with a OS classifier to the classpath, it's not included in netty-all

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 Unknown author, 7 months ago
com/google/protobuf/MessageOrBuilder

Solution icon of github
via GitHub by SwipeX
, 1 year ago
com/google/protobuf/MessageOrBuilder

Solution icon of googlegroups
com/google/ protobuf/MessageOrBuilder

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 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
via Google Groups by Hershiv Haria, 1 year ago
com/google/protobuf/GeneratedMessage

Stack trace

  • java.lang.NoClassDefFoundError: com/google/protobuf/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 akka.kamon.instrumentation.RemotingInstrumentation.aroundSerializeRemoteMessage(RemotingInstrumentation.scala:26) at akka.remote.transport.AkkaPduProtobufCodec$.constructMessage(AkkaPduCodec.scala:127) at akka.remote.EndpointWriter.writeSend(Endpoint.scala:734) at akka.remote.EndpointWriter.delegate$1(Endpoint.scala:627) at akka.remote.EndpointWriter.writeLoop$1(Endpoint.scala:638) at akka.remote.EndpointWriter.sendBufferedMessages(Endpoint.scala:651) at akka.remote.EndpointWriter.becomeWritingOrSendBufferedMessages(Endpoint.scala:597) at akka.remote.EndpointWriter$$anonfun$initializing$1.applyOrElse(Endpoint.scala:571) at akka.actor.Actor$class.aroundReceive(Actor.scala:480) at akka.remote.EndpointActor.aroundReceive(Endpoint.scala:405) at akka.actor.ActorCell.receiveMessage(ActorCell.scala:525) at akka.actor.ActorCell.invoke_aroundBody0(ActorCell.scala:494) at akka.actor.ActorCell$AjcClosure1.run(ActorCell.scala:1) at org.aspectj.runtime.reflect.JoinPointImpl.proceed(JoinPointImpl.java:149) at akka.kamon.instrumentation.ActorCellInstrumentation$$anonfun$aroundBehaviourInvoke$1.apply(ActorCellInstrumentation.scala:63) at kamon.trace.Tracer$.withContext(TracerModule.scala:53) at akka.kamon.instrumentation.ActorCellInstrumentation.aroundBehaviourInvoke(ActorCellInstrumentation.scala:62) at akka.actor.ActorCell.invoke(ActorCell.scala:487) at akka.dispatch.Mailbox.processMailbox(Mailbox.scala:257) at akka.dispatch.Mailbox.run(Mailbox.scala:224) at akka.dispatch.Mailbox.exec(Mailbox.scala:234) at scala.concurrent.forkjoin.ForkJoinTask.doExec(ForkJoinTask.java:260) at scala.concurrent.forkjoin.ForkJoinPool$WorkQueue.runTask(ForkJoinPool.java:1339) at scala.concurrent.forkjoin.ForkJoinPool.runWorker(ForkJoinPool.java:1979) at scala.concurrent.forkjoin.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:107) Caused by: java.lang.ClassNotFoundException: com.google.protobuf.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) ... 49 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

Once, 2 months ago
Samebug visitor profile picture
Unknown user
Once, 7 months ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
1596 more bugmates