OWL API Exception in thread "main" java.lang.NoClassDefFoundError: com/google/common/cache/CacheLoader -
owl api when write
owlontologymanager man = owlmanager.createowlontologymanager();
the exception like:
exception in thread "main" java.lang.noclassdeffounderror: com/google/common/cache/cacheloader @ org.semanticweb.owlapi.vocab.owlfacet.<init>(owlfacet.java:87) @ org.semanticweb.owlapi.vocab.owlfacet.<clinit>(owlfacet.java:60) @ org.semanticweb.owlapi.vocab.owl2datatype$category.<clinit>(owl2datatype.java:328) @ org.semanticweb.owlapi.vocab.owl2datatype.<clinit>(owl2datatype.java:74) @ uk.ac.manchester.cs.owl.owlapi.internalsnocache.<clinit>(internalsnocache.java:59) @ uk.ac.manchester.cs.owl.owlapi.owldatafactoryimpl.<init>(owldatafactoryimpl.java:128) @ uk.ac.manchester.cs.owl.owlapi.owldatafactoryimpl.<clinit>(owldatafactoryimpl.java:74) @ org.semanticweb.owlapi.apibinding.owlmanager.getowldatafactory(owlmanager.java:150) @ org.semanticweb.owlapi.apibinding.owlmanager.createowlontologymanager(owlmanager.java:111) @ amain.main(amain.java:11) caused by: java.lang.classnotfoundexception: com.google.common.cache.cacheloader @ java.net.urlclassloader.findclass(urlclassloader.java:381) @ java.lang.classloader.loadclass(classloader.java:424) @ sun.misc.launcher$appclassloader.loadclass(launcher.java:331) @ java.lang.classloader.loadclass(classloader.java:357) ... 10 more
Comments
Post a Comment