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

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Samebug tips

,
via askubuntu.com by Unknown author

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

,
via netty.io by Unknown author

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

Solutions on the web

via GitHub by kumarravi123
, 1 year ago
com/google/inject/Provider
via Stack Overflow by kravi
, 1 year ago
com/google/inject/Provider
via Stack Overflow by Katerina Dimitraki
, 1 year ago
via GitHub by ZakiaSalod
, 1 year ago
com/google/inject/Provider
via GitHub by domeOo
, 1 year ago
com/almasb/ents/EntityWorldListener
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)
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.actor.ActorCell.receiveMessage(ActorCell.scala:525)
at akka.actor.ActorCell.invoke_aroundBody0(ActorCell.scala:494)
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)

Users with the same issue

Once, 17 hours ago
Once, 1 day ago
2 times, 4 days ago
Once, 4 days ago
Once, 5 days ago

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.