简体   繁体   中英

NoClassDefFoundError StanfordCoreNLP

I have this problem when i tired to submit topology in local mode !

ERROR backtype.storm.util - Async loop died!
java.lang.NoClassDefFoundError: edu/stanford/nlp/pipeline/StanfordCoreNLP
at edu.stanford.nlp.pipeline.NLP.init(NLP.java:16) ~[classes/:na]

Caused by: java.lang.ClassNotFoundException: edu.stanford.nlp.pipeline.StanfordCoreNLP
at java.net.URLClassLoader$1.run(URLClassLoader.java:217) ~[na:1.6.0_38]
at java.security.AccessController.doPrivileged(Native Method) ~[na:1.6.0_38]
at java.net.URLClassLoader.findClass(URLClassLoader.java:205) ~[na:1.6.0_38]
at java.lang.ClassLoader.loadClass(ClassLoader.java:323) ~[na:1.6.0_38]
at java.lang.ClassLoader.loadClass(ClassLoader.java:268) ~[na:1.6.0_38]
... 20 common frames omitted

i don't know what can i share to help you to fix it ! please tell me . I'm using stanford 3.4.1 with java 1.6

Make sure the Stanford NLP libraries are on classpath.

If you are running your project using Eclipse, this link might help you - Error in stanford nlp core

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM