You are viewing a plain text version of this content. The canonical link for it is here.
Posted to fop-dev@xmlgraphics.apache.org by "Thomas Margreiter (Jira)" <ji...@apache.org> on 2020/01/20 13:49:00 UTC

[jira] [Created] (FOP-2905) FOP 2.4 already has dependcies to the avalon Project

Thomas Margreiter created FOP-2905:
--------------------------------------

             Summary: 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


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)