Setting up the current path did NOT do any good
Mathy V Arumugam wrote:
> Thanks James,
> But that did do any good.
>
> Mathy
>
> James Hunt wrote:
>
> > I've received this error when I didn't have my
> > CLASSPATH system variable set correctly. Set CLASSPATH
> > to .; <what ever paths you had previously>/
> >
> > Good Luck,
> > James
> >
> > --- Mathy V Arumugam <[EMAIL PROTECTED]>
> > wrote:
> > > I have posted this que. to the fop-user list and no
> > > resp. Hope someone could
> > > help me...
> > >
> > > I am using JDK 1.3.0_02 along with javawebserver2.0.
> > >
> > > My servlet is failing at
> > > Driver dr=new Driver();
> > >
> > > Error:
> > > java.lang.NoClassDefFoundError: java/util/HashMap
> > > at
> > >
> > org.apache.fop.fo.FOTreeBuilder.<init>(FOTreeBuilder.java:85)
> > >
> > > Thanks
> > > Mathy
> > >
> > > This is what I have in my java file to generate a
> > > PDF file:
> > > Logger log;
> > > Hierarchy hierarchy =
> > > Hierarchy.getDefaultHierarchy();
> > > log = hierarchy.getLoggerFor("fop");
> > > log.setPriority(Priority.WARN);
> > > Driver dr=new Driver(); // ***** this is
> > > where it is failing******
> > > dr.setLogger(log);
> > > dr.setRenderer(Driver.RENDER_PDF);
> > > InputHandler ih=new
> > > XSLTInputHandler(xmlFile,xslFile);
> > > XMLReader p=ih.getParser();
> > > dr.setOutputStream(new
> > > FileOutputStream(pdfFile));
> > > dr.render(p,ih.getInputSource());
> > >
> > >
> > >
> > >
> >
> > =====
> > Voice: (513) 661 - 8007
> > Email: [EMAIL PROTECTED]
> >
> > __________________________________________________
> > Do You Yahoo!?
> > Yahoo! Tax Center - online filing with TurboTax
> > http://taxes.yahoo.com/
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, email: [EMAIL PROTECTED]
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, email: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]