发新话题
打印

ssh与jor整合举例

jor整合ssh的时候,你们的jar包没有冲突,出现问题吗?

jor整合ssh框架出现jar冲突,后台出现的错误是: Caused by: java.lang.AbstractMethodError: org.apache.xerces.dom.ElementNSImpl.setUserData(Ljava/lang/String;
这个是因为jdk6已经有xerces的jar包,而jor的xercesImpl的jar包含xerces的jar包。冲突导致的,于是我删除jor的xercesImpl.jar。(这个jar包含xerces.jar)
删除后,报表什么内容页没有解析出来,<jatools:report>标签解析不了。
所以必须得有xercesImpl.jar。但是与JDK中的包冲突了怎么办?

TOP

发新话题