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

8.3.3版本的包各种报错 #219

Open
RoRui opened this issue Sep 23, 2022 · 1 comment
Open

8.3.3版本的包各种报错 #219

RoRui opened this issue Sep 23, 2022 · 1 comment

Comments

@RoRui
Copy link

RoRui commented Sep 23, 2022

[2022-09-23T13:09:46,361][INFO ][ansj-initializer ] [59ABX29NU9VKZTG] try to load ansj config file: D:\ELK\elasticsearch-8.3.3\config\elasticsearch-analysis-ansj\ansj.cfg.yml [2022-09-23T13:09:46,364][INFO ][ansj-initializer ] [59ABX29NU9VKZTG] load ansj config: D:\ELK\elasticsearch-8.3.3\config\elasticsearch-analysis-ansj\ansj.cfg.yml [2022-09-23T13:09:46,374][WARN ][o.a.u.MyStaticValue ] [59ABX29NU9VKZTG] not find ansj_library.properties. reason: access denied ("java.io.FilePermission" "D:\ELK\elasticsearch-8.3.3" "read") [2022-09-23T13:09:46,375][WARN ][o.a.u.MyStaticValue ] [59ABX29NU9VKZTG] not find library.properties. reason: access denied ("java.io.FilePermission" "D:\ELK\elasticsearch-8.3.3" "read") [2022-09-23T13:09:46,375][WARN ][o.a.u.MyStaticValue ] [59ABX29NU9VKZTG] not find library.properties in classpath use it by default ! [2022-09-23T13:09:46,377][INFO ][o.a.d.i.File2Stream ] [59ABX29NU9VKZTG] path to stream D:\ELK\elasticsearch-8.3.3\config\ansj_library.properties [2022-09-23T13:09:46,378][WARN ][ansj-initializer ] [59ABX29NU9VKZTG] D:\ELK\elasticsearch-8.3.3\config\ansj_library.properties load err [2022-09-23T13:09:46,380][INFO ][o.a.d.i.File2Stream ] [59ABX29NU9VKZTG] path to stream plugins/elasticsearch-analysis-ansj/stop.dic [2022-09-23T13:09:46,382][INFO ][o.a.l.StopLibrary ] [59ABX29NU9VKZTG] load stop use time:2 path is : plugins/elasticsearch-analysis-ansj/stop.dic [2022-09-23T13:09:46,382][INFO ][ansj-initializer ] [59ABX29NU9VKZTG] reload StopLibrary: stop [2022-09-23T13:09:46,385][INFO ][o.a.d.i.File2Stream ] [59ABX29NU9VKZTG] path to stream plugins/elasticsearch-analysis-ansj/synonyms.dic [2022-09-23T13:09:46,386][INFO ][o.a.l.SynonymsLibrary ] [59ABX29NU9VKZTG] load synonyms use time:1 path is : plugins/elasticsearch-analysis-ansj/synonyms.dic [2022-09-23T13:09:46,386][INFO ][ansj-initializer ] [59ABX29NU9VKZTG] reload SynonymsLibrary: synonyms [2022-09-23T13:09:46,389][INFO ][o.a.d.i.File2Stream ] [59ABX29NU9VKZTG] path to stream library/ambiguity.dic [2022-09-23T13:09:46,390][ERROR][o.a.l.AmbiguityLibrary ] [59ABX29NU9VKZTG] Init ambiguity library error :java.security.AccessControlException: access denied ("java.io.FilePermission" "library\ambiguity.dic" "read"), path: library/ambiguity.dic [2022-09-23T13:09:46,391][INFO ][o.a.d.i.File2Stream ] [59ABX29NU9VKZTG] path to stream library/default.dic [2022-09-23T13:09:46,392][ERROR][o.a.l.DicLibrary ] [59ABX29NU9VKZTG] Init dic library error :java.security.AccessControlException: access denied ("java.io.FilePermission" "library\default.dic" "read"), path: library/default.dic [2022-09-23T13:09:47,037][INFO ][o.a.l.DATDictionary ] [59ABX29NU9VKZTG] init core library ok use time : 593

@shi-yuan
Copy link
Member

shi-yuan commented Oct 8, 2022

这个没问题的,需要根据自己词典的位置,配置好ansj.cfg.yml

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

2 participants