geraldsec / ik-analyzer

Automatically exported from code.google.com/p/ik-analyzer
0 stars 0 forks source link

提示找不到org.wltea.analyzer.dic.Dictionary.getSingleton()Lorg/wltea/analyzer/dic/Dictionary #64

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
我用IKAnalyzer2012_u5.zip里的包,进行词库扩展,运行时报找不��
�:Exception in thread "main" java.lang.NoSuchMethodError: 
org.wltea.analyzer.dic.Dictionary.getSingleton()Lorg/wltea/analyzer/dic/Dictiona
ry;
我的代码如下:
List<String> list = new ArrayList<String>();
list.add("吸油");
list.add("吸油面纸");
Dictionary.getSingleton().addWords(list);
不知道这是什么问题?

Original issue reported on code.google.com by yinbinh...@gmail.com on 31 May 2012 at 11:18

GoogleCodeExporter commented 8 years ago
请升级你的jdk到6.0

Original comment by linliang...@gmail.com on 10 Aug 2012 at 1:43