Java Mailing List Archive

http://www.junlu.com/

Home » Home (12/2007) » Struts 2 »

Re: Problem with struts and jfree chart

David Durham

2007-03-06

Replies:

>> From: GulliGulli Bob [mailto:gulligullibob@(protected)]
>>
>> my struts application works fine before I put the
>> jfree-chart jars
>> (jfreechart-1.0.4.jar, jcommon-1.0.8.jar,
>> gnujaxp.jar) in the classpath.
>> Now I get the following errors:
>>
>> org.apache.commons.digester.Digester getParser
>> SCHWERWIEGEND: Digester.getParser:
>> org.xml.sax.SAXNotRecognizedException:
>> http://apache.org/xml/features/validation/dynamic
>>  at
>>
Dave Newton wrote:
> I would find it more likely that gnujaxp is the
> culprit, particularly since the stack trace references
> it explicitly, but I don't know what's in jcommon.


I think that the gnujaxp.jar specifies a SAXParserFactory implementation
via the file:

META-INF/services/javax.xml.parsers.SAXParserFactory

More info on the topic:

http://java.sun.com/j2se/1.5.0/docs/api/javax/xml/parsers/SAXParserFactory.html#newInstance()

HTH,


-Dave

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@(protected)
For additional commands, e-mail: user-help@(protected)

©2008 junlu.com - Jax Systems, LLC, U.S.A.