I have tried downloading both iText-src-with-libs-2.1.5.zip date
2009-03-08 10:41
and iText-src-with-libs-2.1.4.zip date 2008-11-11 14:14.
I unzipped 2.1.5 into directory Java\iText215 and 2.1.4 into directory
Java\iText214.
In each case, I go to the resulting src subdirectory and execute the 3
commands:
ant compile
ant compile.rtf
ant compile.rups
I get the good results for the first 2, but for the last one I get:
Created dir: C:\Java\iText215\build\bin.rups
Compiling 52 source files to C:\Java\iText215\build.bin.rups
C:Java\iText215\src\rups\com\lowagie\rups\model\PdfFile.36: cannot
access com.sun.pdfview.PDFFile
bad class file:
C:\Java\iText215\lib\pdf-renderer.jav(com/sun/pdfview/PDFFile.class)
class file has wrong version 50.0, should be 49.0
Please remove or make sure it appears in the correct subdirectory of the
classpath.
import com.sun.pdfview.PDFFile;
I get analogous results in 214.
I have not added iText214 or iText215 to the Classpath, but it appears
that this is OK, because the first 2 commands work properly.
I have not created any package com/sun/pdfview/PDFFile, so I am guessing
that this class must be coming from inside the library.
At first glance, this appears to be a problem in the libraries,
especially since the error mentions a version number discrepancy.
However, the fact that it is the same error in both 2.1.5 and 2.1.4
makes it seem like something more systemic.
Thanks
Alicia Sparks
------------------------------------------------------------------------------
Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are
powering Web 2.0 with engaging, cross-platform capabilities. Quickly and
easily build your RIAs with Flex Builder, the Eclipse(TM)based development
software that enables intelligent coding and step-through debugging.
Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com
_______________________________________________
iText-questions mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/itext-questions
Buy the iText book: http://www.1t3xt.com/docs/book.php