You are viewing a plain text version of this content. The canonical link for it is here.
Posted to j-dev@xerces.apache.org by Erik Zimmermann <ez...@pironet.com> on 2001/01/22 12:31:21 UTC

DocumentBuilder-Problem

Hi Everybody,
I m having a problem with a very simple piece of code. It throws an
exception which I cant explain.
Does anybody has an idea? (I didnt include the whole code...)


import javax.xml.parsers.DocumentBuilder;
import javax.xml.parsers.DocumentBuilderFactory;

{
    System.out.println("Line 1");
        DocumentBuilderFactory docBuilderFactory =
DocumentBuilderFactory.newInstance();
    System.out.println("Line 2");
        DocumentBuilder docBuilder = docBuilderFactory.newDocumentBuilder();

    System.out.println("Line 3");
}

Line 1
Line 2
java.lang.SecurityException: sealing violation
 at java.net.URLClassLoader.defineClass(Unknown Source)
 at java.net.URLClassLoader.access$100(Unknown Source)
 at java.net.URLClassLoader$1.run(Unknown Source)
 at java.security.AccessController.doPrivileged(Native Method)
 at java.net.URLClassLoader.findClass(Unknown Source)
 at java.lang.ClassLoader.loadClass(Unknown Source)



thanks...
--
Erik Zimmermann - Junior Consultant - CC-Developer
Josef-Lammerting-Allee 14-18
50933 Cologne - Germany
mailto:ezimmermann@pironet.com