I am running it under Apache Tomcat but I also have commons-io-1.3.2.jar in the Netbeans Libraries folder and its ticked for export.
Looking into the war file I think I see the problem though, it has both 1.1 and 1.3.2 of commons-io in the war so it could be a version clash... Time to find and remove all the 1.1 instances. Kindest regards Theresa Forster Senior Software Developer -----Original Message----- From: Michael Rubin [mailto:[email protected]] Sent: 06 June 2011 09:31 To: [email protected] Subject: Re: Hair ripping time Sounds like a possible classpath issue to me? Do you have commons-io-*.jar on your system? And if so, is it in your classpath? Does adding it to your classpath help? Thanks to a google search, http://javacio.us/search?q=org%2Fapache%2Fcommons%2Fio%2Ffilefilter%2FIOFileFilter+more%3Ajar_files&inline=true appears to point out which jars contain the file and where they can be retrieved from if required, although I have not tested the links. Thanks. -Mike On 06/06/11 09:25, Theresa Jayne Forster wrote: > Thanks for that, it has improved my debugging but it seems to be implying an > issue with FOP > > java.lang.NoSuchMethodError: > org.apache.commons.io.filefilter.FileFilterUtils.fileFileFilter()Lorg/apache > /commons/io/filefilter/IOFileFilter; > at > org.apache.fop.fonts.autodetect.FontFileFinder.getFileFilter(FontFileFinder. > java:79) > at > org.apache.fop.fonts.autodetect.FontFileFinder.<init>(FontFileFinder.java:52 > ) > at org.apache.fop.fonts.FontDetector.detect(FontDetector.java:69) > at > org.apache.fop.fonts.FontInfoConfigurator.configure(FontInfoConfigurator.jav > a:92) > > Kindest regards > > > Theresa Forster > Senior Software Developer > > Michael Rubin Developer T: +44 20 8238 7400 F: +44 20 8238 7401 [email protected] The contents of this e-mail are intended for the named addressee only. It contains information that may be confidential. Unless you are the named addressee or an authorized designee, you may not copy or use it, or disclose it to anyone else. If you received it in error please notify us immediately and then destroy it. -----Original Message----- > From: Andreas L. Delmelle [mailto:[email protected]] > Sent: 03 June 2011 21:54 > To: [email protected] > Subject: Re: Hair ripping time > > On 03 Jun 2011, at 17:27, Theresa Jayne Forster wrote: > > Hi Theresa > >> This makes no sense its crashing out with no error on this line >> Fop fop = fopFactory.newFop(MimeConstants.MIME_PDF,useragent,out); >> And it jumps straight to >> System.out.print("*"); > <snip /> >> } catch (TransformerConfigurationException ex) { >> ex.printStackTrace(); >> } catch (TransformerException ex) { >> ex.printStackTrace(); >> } catch (FOPException ex) { >> ex.printStackTrace(); >> } catch (FileNotFoundException ex) { >> ex.printStackTrace(); >> } catch (IOException ex) { >> ex.printStackTrace(); >> } catch (Exception ex) { >> ex.printStackTrace(); > Not as a general practice, but if all else fails: > > } catch (Throwable t) { > t.printStackTrace(); > } > > Hopefully, that will reveal what is happening here. > > > Regards > > Andreas > --- > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > > ----- > No virus found in this message. > Checked by AVG - www.avg.com > Version: 10.0.1375 / Virus Database: 1509/3662 - Release Date: 05/26/11 > Internal Virus Database is out of date. > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] ----- No virus found in this message. Checked by AVG - www.avg.com Version: 10.0.1375 / Virus Database: 1509/3662 - Release Date: 05/26/11 Internal Virus Database is out of date. --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
