Rob Leland wrote:

> Ok:
>
> I am trying to build struts Feb 22 using:
>
> ant 1.3-b3, options.jar (1.3 b3); jaxp 1.1
>
> I haven't been sucessfull yet.
>

For day-to-day development I use current CVS code for Ant, with the JAXP
1.1
JAR files plus the Xerces 1.2.0 JAR file on my classpath (in that
order).

Sealing violations happen because the JAXP jar files are sealed, and
Xerces is
found ahead of JAXP.

>
> Which version of ant are you using to build struts.
> Have you tried gump ?

I watch the output but haven't played with it directly.  Once I have
time, I'll
probably migrate to using GUMP-based output to create the nightly builds
of
Struts -- but I want to think about that a little more first.

Craig


>
> BUILD FAILED
>
> java.lang.SecurityException: sealing violation
>         at java.net.URLClassLoader.defineClass(URLClassLoader.java:234)
>         at java.net.URLClassLoader.access$100(URLClassLoader.java:56)
>         at java.net.URLClassLoader$1.run(URLClassLoader.java:195)
>         at java.security.AccessController.doPrivileged(Native Method)
>         at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
>         at java.lang.ClassLoader.loadClass(ClassLoader.java:297)
>         at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:286)
>         at java.lang.ClassLoader.loadClass(ClassLoader.java:253)
>         at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:313)
>         at java.lang.Class.forName0(Native Method)
>         at java.lang.Class.forName(Class.java:120)
>         at
> javax.xml.parsers.SAXParserFactory.newInstance(SAXParserFactory.java:117)
>         at
> org.apache.tools.ant.ProjectHelper.getParserFactory(ProjectHelper.java:706)
>         at
> org.apache.tools.ant.ProjectHelper.parse(ProjectHelper.java:105)
>         at
> org.apache.tools.ant.ProjectHelper.configureProject(ProjectHelper.java:85)
>         at org.apache.tools.ant.Main.runBuild(Main.java:403)
>         at org.apache.tools.ant.Main.main(Main.java:149)

Reply via email to