On 25 May 2011, at 16:15, Eric Douglas wrote:

Hi Eric

> What is this missing? 
> When I right click the build.xml in Eclipse and select Run As > ant build, I 
> get jars created but the log ends with BUILD FAILED.
> 
> I scroll up to see some errors and there's messages like this. 
>     [junit] Testcase: 
> page-number_background-image.xml(org.apache.fop.intermediate.IFParserTestCase):
>    Caused an ERROR 
>     [junit] 
> org.apache.fop.area.inline.TextArea.addTrait(Ljava/lang/Object;Ljava/lang/Object;)V
>  
>     [junit] java.lang.NoSuchMethodError:

Phew! A relief. :-) Your subject line scared me at first, but turns out to be a 
bit misleading, as it is not a compile error, but a linkage error. It is about 
trying to execute compiled bytecode pointing to a method that was removed or 
whose signature has changed. The compiled versions of PageNumberLayoutManager 
and Area seem to be out of synch.

Seems to be pointing to another (older) fop.jar somewhere in the classpath, as 
org.apache.fop.area.Area.addTrait() had (Object, Object), but was changed to 
(Integer, Object) in r1062901.

Hope this helps!


Regards

Andreas
---

Reply via email to