tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Hans-Jürgen Kozik <iron...@web.de>
Subject AbstractMethodError or xalan problems with tomcat
Date Sun, 30 Sep 2001 17:34:06 GMT
I get the following Exception (NoSuchMethodError, AbstractMethodError) when
i execute this line in a servlet:
Transformer transformer = tFactory.newTransformer(xslDomSource);

what i tried until now:
execute this line in a normal class and there everything works fine.
rename xalan.jar and xerces.jar to axalan.jar and axerces.jar so that
they are set first in the classpath. when i do this i got the Exception
java.lang.AbstractMethodError.

Does anybody know what i have to do so that xsl-transformation work with
servlets?

many thanks, Hans-Jürgen

java.lang.NoSuchMethodError
	at org.apache.xpath.DOM2Helper.getNamespaceOfNode(DOM2Helper.java:348)
	at org.apache.xml.utils.TreeWalker.startNode(TreeWalker.java:343)
	at org.apache.xml.utils.TreeWalker.traverse(TreeWalker.java:167)
	at
org.apache.xalan.processor.TransformerFactoryImpl.processFromNode(Transforme
rFactoryImpl.java:225)
	at
org.apache.xalan.processor.TransformerFactoryImpl.processFromNode(Transforme
rFactoryImpl.java:324)
	at
org.apache.xalan.processor.TransformerFactoryImpl.newTemplates(TransformerFa
ctoryImpl.java:865)
	at
org.apache.xalan.processor.TransformerFactoryImpl.newTransformer(Transformer
FactoryImpl.java:747)
	at formel1.Transform.XML2Html(Transform.java:156)
	at formel1.Ergebnisse.doGet(Ergebnisse.java:51)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
	at org.apache.tomcat.core.ServletWrapper.doService(ServletWrapper.java:405)
	at org.apache.tomcat.core.Handler.service(Handler.java:287)
	at org.apache.tomcat.core.ServletWrapper.service(ServletWrapper.java:372)
	at
org.apache.tomcat.core.ContextManager.internalService(ContextManager.java:81
2)
	at org.apache.tomcat.core.ContextManager.service(ContextManager.java:758)

java.lang.AbstractMethodError
	at org.apache.xpath.DOM2Helper.getNamespaceOfNode(DOM2Helper.java:348)
	at org.apache.xml.utils.TreeWalker.startNode(TreeWalker.java:343)
	at org.apache.xml.utils.TreeWalker.traverse(TreeWalker.java:167)
	at
org.apache.xalan.processor.TransformerFactoryImpl.processFromNode(Transforme
rFactoryImpl.java:225)
	at
org.apache.xalan.processor.TransformerFactoryImpl.processFromNode(Transforme
rFactoryImpl.java:324)
	at
org.apache.xalan.processor.TransformerFactoryImpl.newTemplates(TransformerFa
ctoryImpl.java:865)
	at
org.apache.xalan.processor.TransformerFactoryImpl.newTransformer(Transformer
FactoryImpl.java:747)
	at formel1.Transform.XML2Html(Transform.java:156)
	at formel1.Ergebnisse.doGet(Ergebnisse.java:51)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
	at org.apache.tomcat.core.ServletWrapper.doService(ServletWrapper.java:405)
	at org.apache.tomcat.core.Handler.service(Handler.java:287)
	at org.apache.tomcat.core.ServletWrapper.service(ServletWrapper.java:372)
	at
org.apache.tomcat.core.ContextManager.internalService(ContextManager.java:81
2)
	at org.apache.tomcat.core.ContextManager.service(ContextManager.java:758)



Mime
View raw message