[jdom-interest] sealing violation
Carey Boldenow
c.boldenow at cyterasystems.com
Wed Dec 18 13:37:51 PST 2002
I am getting a Java.lang.SecurityException: sealing
violation when attempting to instantiate my SAXBuilder.
The following is the corresponding code snippet.
private static final String DEFAULT_SAX_DRIVER_CLASS =
"org.apache.crimson.parser.XMLReaderImpl";
public static void init(String configFileName) {
try {
SAXBuilder builder = new
SAXBuilder(DEFAULT_SAX_DRIVER_CLASS);
*** sealing violation is now thrown while
initializing SAXBuilder
My classpath includes the jdom.jar and crimson.jar. If I
add xerces.jar then the exception goes away, but I don't
know why I should have to include xerces, if I don't want
to use it.
Thanks for any help offered.
Carey
More information about the jdom-interest
mailing list