java.lang.Error:Unresolved compilation problems 这是什么问题,怎么改正?java.lang.Error:Unresolved compilation problems:The import org.wltea cannot be resolved The import org.wltea cannot be resolved IKSegmenter cannot be resolved to a type I

来源:学生作业帮助网 编辑:作业帮 时间:2024/05/06 12:01:32

java.lang.Error:Unresolved compilation problems 这是什么问题,怎么改正?java.lang.Error:Unresolved compilation problems:The import org.wltea cannot be resolved The import org.wltea cannot be resolved IKSegmenter cannot be resolved to a type I
java.lang.Error:Unresolved compilation problems 这是什么问题,怎么改正?
java.lang.Error:Unresolved compilation problems:The import org.wltea
cannot be resolved The import org.wltea cannot be resolved IKSegmenter cannot be
resolved to a type IKSegmenter cannot be resolved to a type Lexeme cannot be
resolved to a type IKSegmenter cannot be resolved to a type IKSegmenter cannot
be resolved to a type Lexeme cannot be resolved to a type
org.bjtu.wip.processor.IKAnalyzer.(IKAnalyzer.java:17)
org.bjtu.wip.web.action.SpotAction.findHotWord(SpotAction.java:96)
sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
java.lang.reflect.Method.invoke(Method.java:601)
com.opensymphony.xwork2.DefaultActionInvocation.invokeAction(DefaultActionInvocation.java:452)
com.opensymphony.xwork2.DefaultActionInvocation.invokeActionOnly(DefaultActionInvocation

java.lang.Error:Unresolved compilation problems 这是什么问题,怎么改正?java.lang.Error:Unresolved compilation problems:The import org.wltea cannot be resolved The import org.wltea cannot be resolved IKSegmenter cannot be resolved to a type I
这是引入类型失败的错误提示
import org.wltea 说明你引入了某个jar 包 或者 类
但是没有找到 就报错了
检查下 IKSegmenter 这个类 的引入路径 是不是存在就找到问题了