Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Exception in thread "main" java.lang.NoClassDefFoundError #7

Open
weimoji opened this issue Mar 23, 2022 · 1 comment
Open

Exception in thread "main" java.lang.NoClassDefFoundError #7

weimoji opened this issue Mar 23, 2022 · 1 comment

Comments

@weimoji
Copy link

weimoji commented Mar 23, 2022

Hello,
When I try to segment Chinese document on Windows 10 system with script:
bash topictilling.bat -ri 5 -tmd topicmodel -tmn model-final -fp "*txt" -fd files_to_segment
I encounter the following error
Exception in thread "main" java.lang.NoClassDefFoundError: org/apache/commons/lang/IllegalClassException
at org.uimafit.factory.CollectionReaderFactory.createDescription(CollectionReaderFactory.java:217)
at org.uimafit.factory.CollectionReaderFactory.createDescription(CollectionReaderFactory.java:208)
at org.uimafit.factory.CollectionReaderFactory.createCollectionReader(CollectionReaderFactory.java:154)
at org.uimafit.factory.CollectionReaderFactory.createCollectionReader(CollectionReaderFactory.java:118)
at de.tudarmstadt.langtech.semantics.segmentation.segmenter.RunTopicTilingOnFile.(RunTopicTilingOnFile.java:102)
at de.tudarmstadt.langtech.semantics.segmentation.segmenter.RunTopicTilingOnFile.main(RunTopicTilingOnFile.java:94)
Caused by: java.lang.ClassNotFoundException: org.apache.commons.lang.IllegalClassException
at java.net.URLClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
... 6 more
What does this error mean? What should I do?
Thanks!

@weimoji
Copy link
Author

weimoji commented Mar 23, 2022

Before execute topictilling, I execute JGibbLDA with command
java -cp bin:lib/args4j-2.0.6.jar jgibblda.LDA -est F:\JGibbLDA-v.1.0\model\ -dfile 01.txt
and get five model-final files.
Did I do anything wrong?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant