java.lang.NoClassDefFoundError: com/google/common/base/Optional

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

Solutions on the web

via Stack Overflow by Daniele Pantaleone
, 1 year ago
java.lang.ClassNotFoundException: com.google.common.base.Optional not found by it.uniroma1.dis.example.protege [24]
at org.apache.felix.framework.BundleWiringImpl.findClassOrResourceByDelegation(BundleWiringImpl.java:1556)
at org.apache.felix.framework.BundleWiringImpl.access$400(BundleWiringImpl.java:77)
at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
at it.uniroma1.dis.example.protege.reasoner.ExampleReasoner.(ExampleReasoner.java:17)
at it.uniroma1.dis.example.protege.reasoner.ExampleReasonerFactory.createReasoner(ExampleReasonerFactory.java:47)
at it.uniroma1.dis.example.protege.reasoner.ExampleReasonerFactory.createReasoner(ExampleReasonerFactory.java:9)
at org.protege.editor.owl.model.inference.ReasonerUtilities.createReasoner(ReasonerUtilities.java:20)
at org.protege.editor.owl.model.inference.OWLReasonerManagerImpl$ClassificationRunner.ensureRunningReasonerInitialized(OWLReasonerManagerImpl.java:427)
at java.lang.Thread.run(Thread.java:745)

Users with the same issue

Once, 1 year ago
2 times, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 3 months ago
Samebug visitor profile picture
Unknown user
Once, 11 months ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago

Write tip

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