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 xalan tomcat
Date Thu, 27 Sep 2001 16:44:28 GMT
I get the following Exception 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 
thy are set 1st 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(TransformerFactoryImpl.java:225)
	at 
org.apache.xalan.processor.TransformerFactoryImpl.processFromNode(TransformerFactoryImpl.java:324)
	at 
org.apache.xalan.processor.TransformerFactoryImpl.newTemplates(TransformerFactoryImpl.java:865)
	at 
org.apache.xalan.processor.TransformerFactoryImpl.newTransformer(TransformerFactoryImpl.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:812)
	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(TransformerFactoryImpl.java:225)
	at 
org.apache.xalan.processor.TransformerFactoryImpl.processFromNode(TransformerFactoryImpl.java:324)
	at 
org.apache.xalan.processor.TransformerFactoryImpl.newTemplates(TransformerFactoryImpl.java:865)
	at 
org.apache.xalan.processor.TransformerFactoryImpl.newTransformer(TransformerFactoryImpl.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:812)
	at org.apache.tomcat.core.ContextManager.service(ContextManager.java:758)


Mime
View raw message