This question has probably been answered a dozen of times these last weeks.
It means that you have 2 different parsers in your classpath. Probably
jaxp.jar/crimson.jar and xerces.jar
For more information about sealing you can consult the Java API.
Thanks.
--
Stéphane Bailliez
Software Engineer, Paris - France
iMediation - http://www.imediation.com
Disclaimer: All the opinions expressed above are mine and not those from my
company.
> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
> Sent: Monday, March 19, 2001 6:54 PM
> To: [EMAIL PROTECTED]
> Subject: sealing violation when running ANT...Help!
>
>
> Anyone know what this is when building one of the demo files.....
>
>
>
>
> mysolaris% ant -buildfile get.xml
> Buildfile: get.xml
>
> BUILD FAILED
>
> java.lang.SecurityException: sealing violation
> at java.lang.Throwable.fillInStackTrace(Native Method)
> at java.lang.Throwable.fillInStackTrace(Compiled Code)
> at java.lang.Throwable.<init>(Compiled Code)
> at java.lang.Exception.<init>(Exception.java:42)
> at java.lang.RuntimeException.<init>(RuntimeException.java:47)
> at
> java.lang.SecurityException.<init>(SecurityException.java:39)
> at java.net.URLClassLoader.defineClass(Compiled Code)
> at java.net.URLClassLoader.access$1(Compiled Code)
> at java.net.URLClassLoader$1.run(Compiled Code)
> at java.security.AccessController.doPrivileged(Native Method)
> at java.security.AccessController.doPrivileged(Compiled Code)
> at java.net.URLClassLoader.findClass(Compiled Code)
> at java.lang.ClassLoader.loadClass(Compiled Code)
> at sun.misc.Launcher$AppClassLoader.loadClass(Compiled Code)
> at java.lang.ClassLoader.loadClass(Compiled Code)
> at java.lang.ClassLoader.loadClassInternal(Compiled Code)
> at java.lang.Class.forName0(Native Method)
> at java.lang.Class.forName0(Compiled Code)
> at java.lang.Class.forName(Compiled Code)
> at
> javax.xml.parsers.SAXParserFactory.newInstance(SAXParserFactory.java:
> 117)
> at
> org.apache.tools.ant.ProjectHelper.getParserFactory(ProjectHelper.jav
> a:706)
> at org.apache.tools.ant.ProjectHelper.parse(Compiled Code)
> at
> org.apache.tools.ant.ProjectHelper.configureProject(ProjectHelper.jav
> a:85)
> at org.apache.tools.ant.Main.runBuild(Compiled Code)
> at org.apache.tools.ant.Main.main(Main.java:149)
>
> Total time: 0 seconds
> sealing violation
>