java.lang.NoClassDefFoundError

com/google/common/base/Optional

Solutions on the web9462

  • via itquestionz.com by Unknown author, 1 year ago
    com/google/common/base/Optional
  • via GitHub by Joridan
    , 8 months ago
    com/google/common/base/Optional
  • Stack trace

    • java.lang.NoClassDefFoundError: com/google/common/base/Optional at it.uniroma1.dis.example.protege.reasoner.ExampleReasoner.<init>(ExampleReasoner.java:17)[na:na] at it.uniroma1.dis.example.protege.reasoner.ExampleReasonerFactory.createReasoner(ExampleReasonerFactory.java:47)[na:na] at it.uniroma1.dis.example.protege.reasoner.ExampleReasonerFactory.createReasoner(ExampleReasonerFactory.java:9)[na:na] at org.protege.editor.owl.model.inference.ReasonerUtilities.createReasoner(ReasonerUtilities.java:20)[na:na] at org.protege.editor.owl.model.inference.OWLReasonerManagerImpl$ClassificationRunner.ensureRunningReasonerInitialized(OWLReasonerManagerImpl.java:427)[na:na] at org.protege.editor.owl.model.inference.OWLReasonerManagerImpl$ClassificationRunner.run(OWLReasonerManagerImpl.java:382)[na:na] at java.lang.Thread.run(Thread.java:745)[na:1.8.0_91] Caused by: 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)[org.apache.felix.main.jar:na] at org.apache.felix.framework.BundleWiringImpl.access$400(BundleWiringImpl.java:77)[org.apache.felix.main.jar:na] at org.apache.felix.framework.BundleWiringImpl$BundleClassLoader.loadClass(BundleWiringImpl.java:1993)[org.apache.felix.main.jar:na] at java.lang.ClassLoader.loadClass(ClassLoader.java:357)[na:1.8.0_91] ... 7 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

    Unknown user
    Once, 1 year ago
    Once, 7 months ago
    Unknown user
    Once, 9 months ago
    Unknown user
    Once, 10 months ago
    Unknown user
    Once, 11 months ago
    42 more bugmates