JAWS import issue

谁说胖子不能爱 提交于 2019-12-12 01:31:18

问题


I am using JAWS (Java API for WordNet Searching) and have set up the wordnet dictionary with VM Arguments in eclipse. I downloaded the jaws-bin.jar file and placed it in my project directory C:\Users\My-pc\Projects\MyApp\src. After this, I ran the code successfully using:

java -classpath .;C:\Users\My-pc\Projects\MyApp\bin\jaws-bin.jar -Dwordnet.database.dir=C:\WordNet-3.0\dict MyAppName

Now when I import the package "edu.smu.tspell.wordnet.*", it is giving the error "The import edu cannot be resolved". I followed the set-up guide closely but can't figure out what is wrong. Can anyone please help me in resolving this. Thanks.


回答1:


Got it right by downloading the source files from here and placing it in my project.



来源:https://stackoverflow.com/questions/23643364/jaws-import-issue

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!