Error: attempting to use incompatible return type

Hi, I am getting the following error while building my application. I want to support jdk 1.5 to the product.

How can I resolve this issue... I dont have the new lib for the same!

[javac] C:\venus\src\com\martquest\rulebase\RulebaseDom.java:61: getDomConfig() in org.apache.xerces.dom.CoreDocumen

tImpl cannot implement getDomConfig() in org.w3c.dom.Document; attempting to use incompatible return type

[427 byte] By [prachi_janraoa] at [2007-11-27 8:30:43]
# 1
Are you mixing library versions?
CeciNEstPasUnProgrammeura at 2007-7-12 20:25:52 > top of Java-index,Java Essentials,Java Programming...
# 2

I have something like

package org.apache.xerces.dom3;

public interface DOMConfiguration {

-;

-;

}

and I want to change org.apache.xerces.dom3.DOMConfiguration to org.w3c.dom.DOMConfiguration But I cant change this as it is present in jar file. This supports jdk 1.4 and I want to give a support of jdk 1.5

prachi_janraoa at 2007-7-12 20:25:52 > top of Java-index,Java Essentials,Java Programming...