On Fri, Feb 5, 2010 at 7:24 AM, cpassmore <[email protected]> wrote:
> Getting the error "Failed to load class, > com.lowagie.text.pdf.PdfReader" > Did you restart BD after dropping the JAR files in place? > > So as mentioned before, I putthe iText-5.0.1.jar This is a much later version than the one that ships with OpenBD, so it could be that they changed the API. I'd have to look into it. The version that ships with OpenBD is 2.0.8. > file in the > BlueDragon_Server/lib directory. There's also a 'classes' folder, is > THAT where it should go with a directory structure of classes/com/ > lowagie/text/pdf/::Change jar file name to PdfReader::? > Nope, lib is right. Just make sure you restart. > > I know cfml has all this underlying 'power' thanks to java, but i know > NOTHING about java and unfortunately am lost. > > You mention on the wiki that OpenBD already has iText installed, would > it make sense to download that and try to mimic the directory > structure (in regards to the iText installation) for the BD7 Server > install? > > You might try deleting version 5 and replacing it with version 2.0.8 to see if that does the trick, or just take a look at the Java docs for iText and see what might have changed syntax-wise: http://api.itextpdf.com/ Looking at that they did change the API/package structure, so it would be com.itextpdf.text.pdf.PdfReader instead of com.lowagie ... and you'd have to adjust all the other references accordingly. I'd be surprised if the methods and how they worked changed (though you never know), so with the correct package reference it'll probably work. -- Matthew Woodward [email protected] http://blog.mattwoodward.com identi.ca/Twitter: @mpwoodward Please do not send me proprietary file formats such as Word, PowerPoint, etc. as attachments. http://www.gnu.org/philosophy/no-word-attachments.html -- Open BlueDragon Public Mailing List http://www.openbluedragon.org/ http://twitter.com/OpenBlueDragon mailing list - http://groups.google.com/group/openbd?hl=en !! save a network - please trim replies before posting !!
