Hi, On Wed, Apr 21, 2010 at 2:41 AM, Omar Chiyean <[email protected]> wrote: > When compiling with maven pdfbox1.1.0 i get this error: > [...] > [INFO] Compilation failure > /Users/ochiyean/Downloads/java/pdfbox-1.1.0/pdfbox/src/test/java/org/apache/pdfbox/cos/TestCOSInteger.java:[34,45] > get(java.lang.String) in org.apache.pdfbox.cos.COSNumber cannot be applied > to (int)
This line of code is trying to invoke the COSInteger.get(long) method found on line 79 of o.a.p.cos.COSInteger [1]. In your case it looks like it's falling back to the parent class method COSNumber.get(String) (line 77, [2]). Have you modified the COSInteger class in your copy of the sources? [1] http://svn.apache.org/viewvc/pdfbox/tags/1.1.0/pdfbox/src/main/java/org/apache/pdfbox/cos/COSInteger.java?view=markup [2] http://svn.apache.org/viewvc/pdfbox/tags/1.1.0/pdfbox/src/main/java/org/apache/pdfbox/cos/COSNumber.java?view=markup BR, Jukka Zitting

