By the way no modification to this files...
On other files i've made modifications but not from o.a.p.cos


2010/4/21 Omar Chiyean <[email protected]>

> Hi Jukka. I've downloaded and placed this two classes, but with no luck.
> I'm still getting the same error in the same line...
> This is what I get:
>
> [INFO]
> ------------------------------------------------------------------------
> [ERROR] BUILD FAILURE
> [INFO]
> ------------------------------------------------------------------------
> [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)
>
> What could it be?
> Is there a way to clean java cache??
>
> For the compilation i'm using maven 2.2.0
> the instruction is:
> mvn clean install
>
> Tnx in advance...
>
> 2010/4/21 Jukka Zitting <[email protected]>
>
> 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
>>
>
>

Reply via email to