Hi Martin

Is build/gensrc on your classpath?  This gets generated during the default
ant task.

Pete

On Sat, Feb 6, 2010 at 3:28 AM, <martin.e...@asmorphic.net.au> wrote:

> Hi Guys,
>
> Wondering if there are any tips of what i'm doing wrong - have built the
> application using ant, and it says it was built successfully. Can see the
> event-models.xml in the accessibility section, however, when running the
> application from eclipse, I get:
>
> NFO: Default page-width set to: 210mm
> Exception in thread "main" java.lang.ExceptionInInitializerError
>        at org.apache.fop.apps.FOUserAgent.<init>(FOUserAgent.java:102)
>        at
> org.apache.fop.apps.FopFactory.newFOUserAgent(FopFactory.java:188)
>        at
> org.apache.fop.cli.CommandLineOptions.parse(CommandLineOptions.java:171)
>        at org.apache.fop.cli.Main.startFOP(Main.java:158)
>        at org.apache.fop.cli.Main.main(Main.java:205)
> Caused by: java.util.MissingResourceException: File event-model.xml not
> found
>        at
>
> org.apache.fop.events.model.AbstractEventModelFactory.loadModel(AbstractEven
> tModelFactory.java:46)
>        at
>
> org.apache.fop.accessibility.AccessibilityEventProducer$EventModelFactory.cr
> eateEventModel(AccessibilityEventProducer.java:54)
>        at
>
> org.apache.fop.events.DefaultEventBroadcaster.<clinit>(DefaultEventBroadcast
> er.java:73)
>        ... 5 more
>
>
> Any suggestions on where I should start looking?
>
> THanks
> Martin
>
>
>
>

Reply via email to