|
|
|
|
|
|
|
请教xalan的一个问题
|
2003年05月27日 21:24
|
|
|
标签列表
|
|
我在tomcat+jbuilder7中使用xalan处理xml文件,结果xalan出现内部错误:在tomcat 与resin下都报错,下面是resin的出错信息:(我认为resin的信息简单明了,不知大家是否认同? java.lang.NoSuchMethodError: org.apache.xalan.xslt.Process.getDefaultLiaison()Ljava/lang/String; at org.apache.xalan.xslt.XSLTEngineImpl.<init>(XSLTEngineImpl.java:367) at org.apache.xalan.xslt.XSLTProcessorFactory.getProcessor(XSLTProcessorFactory.java:79) at ecenter.Function.getNodeByXSLFile(Funcction.java:104) at com.caucho.jsp.JavaPage.service(JavaPage.java:75) at com.caucho.jsp.Page.subservice(Page.java:497) at com.caucho.server.http.FilterChainPage.doFilter(FilterChainPage.java:182) at com.caucho.server.http.Invocation.service(Invocation.java:315) at com.caucho.server.http.CacheInvocation.service(CacheInvocation.java:135) at com.caucho.server.http.RunnerRequest.handleRequest(RunnerRequest.java:344) at com.caucho.server.http.RunnerRequest.handleConnection(RunnerRequest.java:274) at com.caucho.server.TcpConnection.run(TcpConnection.java:139) at java.lang.Thread.run(Thread.java:536)
可是反编译xalan.jar 可以找到Process.getDefaultLiaison()该方法 谁有遇到过,请各位帮忙
|
|
|
|
|
|
Re: 请教xalan的一个问题
|
2003年05月27日 22:00
|
|
|
|
我记得以前碰到过类似的问题, NoSuchMethodError出错在类的方法里面调用的其他类没有找到, 你可以查一下Resin log目录的error.log, 那里面有root exception.
|
|
|
|
|
|
Re: 请教xalan的一个问题
|
2003年05月27日 23:34
|
|
|
check the version of xalan.jar inside \extras, probably it's not updated. I started using jbuilder(8) recently and found it shipped with a very old jdom, if borland can not maintain their packaged third party tools up-to-date, they should not ship or clearly inform user.
|
|
|
|
|
|
Re: 请教xalan的一个问题
|
2003年05月28日 10:51
|
|
|
|
我按jdk1.4.1中endorsed方法进行override XALAN,并重启,可还是一样
|
|
|
|
|
|
Re: 请教xalan的一个问题
|
2003年05月28日 10:53
|
|
|
|
|
|
|