struts-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Greg Reddin <gred...@apache.org>
Subject Maven 2 Build Problem
Date Fri, 10 Mar 2006 17:29:39 GMT
Since I last spent a significant amount of time on Standalone Tiles  
the Maven 2 build has been added.  I thought I'd give it a try and  
I'm getting the error below.  I can build with Maven 1 without  
issue.  But running mvn package yields the following exception in the  
tests.  Does anyone have any insight into this?  I'm using JDK 1.4.2  
and I thought it had a SAX parser built in.

Thanks,
Greg


javax.xml.parsers.FactoryConfigurationError: Provider for  
javax.xml.parsers.SAXParserFactory cannot be found
         at javax.xml.parsers.SAXParserFactory.newInstance(Unknown  
Source)
         at org.apache.commons.digester.Digester.getFactory 
(Digester.java:490)
         at org.apache.commons.digester.Digester.getParser 
(Digester.java:693)
         at org.apache.commons.digester.Digester.getXMLReader 
(Digester.java:899)
         at org.apache.commons.digester.Digester.parse(Digester.java: 
1666)
         at org.apache.tiles.digester.DigesterDefinitionsReader.read 
(DigesterDefinitionsReader.java:153)
         at  
org.apache.tiles.definition.UrlDefinitionsFactory.readDefinitions 
(UrlDefinitionsFactory.java:220)
         at  
org.apache.tiles.TestUrlDefinitionsFactory.testReadByLocale 
(TestUrlDefinitionsFactory.java:139)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke 
(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke 
(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:324)
         at junit.framework.TestCase.runTest(TestCase.java:154)
         at junit.framework.TestCase.runBare(TestCase.java:127)
         at junit.framework.TestResult$1.protect(TestResult.java:106)
         at junit.framework.TestResult.runProtected(TestResult.java:124)
         at junit.framework.TestResult.run(TestResult.java:109)
         at junit.framework.TestCase.run(TestCase.java:118)
         at junit.framework.TestSuite.runTest(TestSuite.java:208)
         at junit.framework.TestSuite.run(TestSuite.java:203)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke 
(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke 
(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:324)
         at org.codehaus.surefire.battery.JUnitBattery.executeJUnit 
(JUnitBattery.java:246)
         at org.codehaus.surefire.battery.JUnitBattery.execute 
(JUnitBattery.java:220)
         at org.codehaus.surefire.Surefire.executeBattery 
(Surefire.java:204)
         at org.codehaus.surefire.Surefire.run(Surefire.java:153) 
     

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@struts.apache.org
For additional commands, e-mail: dev-help@struts.apache.org


Mime
View raw message