[ 
https://issues.apache.org/jira/browse/FOP-2905?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Simon Steiner resolved FOP-2905.
--------------------------------
    Resolution: Invalid

> FOP 2.4    already has dependcies to the avalon Project
> -------------------------------------------------------
>
>                 Key: FOP-2905
>                 URL: https://issues.apache.org/jira/browse/FOP-2905
>             Project: FOP
>          Issue Type: Bug
>          Components: documentation
>    Affects Versions: 2.4
>            Reporter: Thomas Margreiter
>            Priority: Critical
>
> when we trty to use the FOP  with the following lines; 
> FopConfParser parser = new FopConfParser(new File(model.getConfigFile()));
> FopConfParser parser = new FopConfParser(new File(model.getConfigFile())); 
> FopFactoryBuilder builder = parser.getFopFactoryBuilder();
> FopFactory fopFactory = builder.build();     FOUserAgent foUserAgent = 
> FopFactory.newFOUserAgent();
>  
>  
> we get the followong Error Message: 
> Exception in thread "AWT-EventQueue-0" java.lang.NoClassDefFoundError: 
> org/apache/avalon/framework/configuration/ConfigurationExceptionException in 
> thread "AWT-EventQueue-0" java.lang.NoClassDefFoundError: 
> org/apache/avalon/framework/configuration/ConfigurationException at 
> java.lang.Class.getDeclaredConstructors0(Native Method) at 
> java.lang.Class.privateGetDeclaredConstructors(Class.java:2671) at 
> java.lang.Class.getConstructor0(Class.java:3075) at 
> java.lang.Class.getDeclaredConstructor(Class.java:2178) at 
> org.apache.xmlgraphics.util.Service.providers(Service.java:85) at 
> org.apache.fop.render.XMLHandlerRegistry.discoverXMLHandlers(XMLHandlerRegistry.java:155)
>  at 
> org.apache.fop.render.XMLHandlerRegistry.<init>(XMLHandlerRegistry.java:50) 
> at org.apache.fop.apps.FopFactory.<init>(FopFactory.java:101) at 
> org.apache.fop.apps.FopFactory.newInstance(FopFactory.java:122) at 
> org.apache.fop.apps.FopFactoryBuilder.build(FopFactoryBuilder.java:122)
>  
>  



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to