Ant 1.4.1 sealing violation on bootstrap
1 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   Anonymous
Posted On:   Thursday, January 24, 2002 09:40 AM

Does anybody have this problem ( rh linux 7.2 , jdk1.3.1_02, jaxb-1.0-ea, jsse-1_0_2-gl ) $ build.sh ... Bootstrapping Ant Distribution ... Compiling Ant Classes Note: src/main/org/apache/tools/zip/ZipOutputStream.java uses or overrides a deprecated API. Note: Recompile with -deprecation for details. ... Copying Required Files ... Building Ant Distribution Buildfile: build.xml BUILD FAILED javax.xml.parsers.FactoryConfigurationError: Provider org.apache.crimson.jaxp.SAXParserFactoryImpl could not be instantiated: java.lang.SecurityException: sealing violation   More>>

Does anybody have this problem ( rh linux 7.2 , jdk1.3.1_02, jaxb-1.0-ea, jsse-1_0_2-gl )


$ build.sh


... Bootstrapping Ant Distribution


... Compiling Ant Classes


Note: src/main/org/apache/tools/zip/ZipOutputStream.java uses or overrides a deprecated API.


Note: Recompile with -deprecation for details.


... Copying Required Files


... Building Ant Distribution


Buildfile: build.xml


BUILD FAILED


javax.xml.parsers.FactoryConfigurationError: Provider org.apache.crimson.jaxp.SAXParserFactoryImpl could not be instantiated: java.lang.SecurityException: sealing violation


at javax.xml.parsers.SAXParserFactory.newInstance(SAXParserFactory.java:105)


at org.apache.tools.ant.ProjectHelper.getParserFactory(ProjectHelper.java:776)


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:439)


at org.apache.tools.ant.Main.start(Main.java:153)


at org.apache.tools.ant.Main.main(Main.java:176)


Total time: 0 seconds


Provider org.apache.crimson.jaxp.SAXParserFactoryImpl could not be instantiated: java.lang.SecurityException: sealing violation


... Cleaning Up Build Directories


... Done Bootstrapping Ant Distribution


Bootstrap FAILED


$

   <<Less

Re: Ant 1.4.1 sealing violation on bootstrap

Posted By:   Scott_Kelm  
Posted On:   Thursday, April 11, 2002 11:14 AM

Try checking if the SAXParserFactoryImpl class or any other in the stack are located multuple times in your classpath. This happened to me when two different jars had the same class.
About | Sitemap | Contact