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

Caused by: java.lang.NoClassDefFoundError: org/ahocorasick/trie/Trie #54

Open
sunnywilliam opened this issue Jul 28, 2020 · 1 comment

Comments

@sunnywilliam
Copy link

org.springframework.web.util.NestedServletException: Handler dispatch failed; nested exception is java.lang.NoClassDefFoundError: org/ahocorasick/trie/Trie

Caused by: java.lang.NoClassDefFoundError: org/ahocorasick/trie/Trie
at com.github.promeg.pinyinhelper.Utils.dictsToTrie(Utils.java:22)
at com.github.promeg.pinyinhelper.Pinyin.init(Pinyin.java:40)
at com.tigerbrokers.alpha.bos.sap.util.PinyinUtil.normalizeToPinyin(PinyinUtil.java:33)
在A项目添加的maven依赖,B引用了A,B项目报错

@sunnywilliam
Copy link
Author

依赖的信息
[INFO] | - com.github.promeg:tinypinyin:jar:2.0.3:compile
[INFO] | - org.ahocorasick:ahocorasick:jar:0.3.0:runtime

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