码迷,mamicode.com
首页 > 其他好文 > 详细

PaodingAnalysis 提示 "dic home should not be a file, but a directory"

时间:2015-10-26 13:44:26      阅读:179      评论:0      收藏:0      [点我收藏+]

标签:

Exception in thread "main" net.paoding.analysis.exception.PaodingAnalysisException: dic home should not be a file, but a directory!

    at net.paoding.analysis.knife.PaodingMaker.setDicHomeProperties(PaodingMaker.java:338)

    at net.paoding.analysis.knife.PaodingMaker.getDicHome(PaodingMaker.java:261)

    at net.paoding.analysis.knife.PaodingMaker.loadProperties(PaodingMaker.java:189)

    at net.paoding.analysis.knife.PaodingMaker.loadProperties(PaodingMaker.java:228)

    at net.paoding.analysis.knife.PaodingMaker.loadProperties(PaodingMaker.java:228)

    at net.paoding.analysis.knife.PaodingMaker.getProperties(PaodingMaker.java:130)

    at net.paoding.analysis.analyzer.PaodingAnalyzer.init(PaodingAnalyzer.java:70)

    at net.paoding.analysis.analyzer.PaodingAnalyzer.<init>(PaodingAnalyzer.java:59)

    at net.paoding.analysis.analyzer.PaodingAnalyzer.<init>(PaodingAnalyzer.java:52)

    at examples.TokenizeWithPaoding.main(TokenizeWithPaoding.java:12)

net.paoding.analysis.exception.PaodingAnalysisException: dic home should not be a file, but a directory!

检查发现:F:\JAVA Project\PAW\Tokenizer 的"JAVA Project"之间有个空格

解决方案:现在F:\JAVA Project\PAW\Tokenizer\Tokenizer文件夹中拷贝Tokenize工程,到桌面,之后在Myeclipse8.6集成开发工具中删除Tokenize工程,之后将 桌面上的Tokenize工程导入到Myeclipse 8.6集成开发工具中,调试就可以成功。

PaodingAnalysis 提示 "dic home should not be a file, but a directory"

标签:

原文地址:http://www.cnblogs.com/liaojie970/p/4910861.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!