aspose file tools*
The moose likes XML and Related Technologies and the fly likes java.lang.AbstractMethodError Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » XML and Related Technologies
Bookmark "java.lang.AbstractMethodError" Watch "java.lang.AbstractMethodError" New topic
Author

java.lang.AbstractMethodError

Dario Rehman
Greenhorn

Joined: Nov 24, 2006
Posts: 18
I am getting the following error. If I test the code withou Tomcat everything works. But when I deploy it I get this error. How can I fix it? Thanks.


java.lang.AbstractMethodError: org.apache.xerces.dom.DeferredElementImpl.getTextContent()Ljava/lang/String;
William Brogden
Author and all-around good cowpoke
Rancher

Joined: Mar 22, 2000
Posts: 12785
    
    5
I suspect that error is due to your code being compiled with a version of the Xerces library that does not match the one being used by Tomcat. Note that Tomcat will not use your environment classpath to find Xerces but uses its own version.

Bill
Paul Clapham
Bartender

Joined: Oct 14, 2005
Posts: 18570
    
    8

"dabd dabd", welcome to JavaRanch.

We're friendly here, but we do require members to have valid display names.

Display names must be at least two words: your first name, then your last name. Fictitious names are not allowed.

Please edit your profile and correct your display name since accounts with invalid display names will be deleted.
Dario Rehman
Greenhorn

Joined: Nov 24, 2006
Posts: 18
Originally posted by William Brogden:
I suspect that error is due to your code being compiled with a version of the Xerces library that does not match the one being used by Tomcat. Note that Tomcat will not use your environment classpath to find Xerces but uses its own version.

Bill


That was exactly my problem. Thanks!
stef ment
Greenhorn

Joined: Sep 25, 2008
Posts: 1
This topic is old, but I try my question

What did you do concretely in Tomcat configuration
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: java.lang.AbstractMethodError