I did some research and found the following.
The following line was causing the exception:
xerces 2.7.1 org.apache.xerces.dom.NodeImpl (line 1774) is:
public Object setUserData(String key,
Object data,
UserDataHandler handler) {
return ownerDocument().setUserData(this, key, data, handler);
}
and line 24 is:
import org.w3c.dom.UserDataHandler;
The problem is that JRE 1.4 does not have a org.w3c.dom.UserDataHandler at all.
In JRE 1.4 the UserDataHandler class was in package org.apache.xerces.dom3.UserDataHandler. This both for Sun Java and IBM Java. In fact, if I download the xerces 2.7.1 source, it will not compile with java 1.4 for this reason.
It is only in Java 1.5 that org.w3c.dom.UserDataHandler exists.
Can you confirm this? If so, how has anyone been able to run the spring IDE plugin in a pure 1.4 environment with no 1.5 libraries in the classpath?


Reply With Quote