Nick:

Bingo - another dev was using a very old version of POI and it was earlier 
in the classpath.

You're two-for-two - thanks alot for the help.

-Lou


Nick Burch <[email protected]> wrote on 09/16/2010 07:35:25 AM:

> On Thu, 16 Sep 2010, [email protected] wrote:
> > I'm running into an issue trying to compile the examples under POI 
3.6:
> >
> >    [javac] business\freightbidding\BusinessPlan.java:67: incompatible
> > types
> >    [javac] found   : org.apache.poi.hssf.usermodel.HSSFWorkbook
> >    [javac] required: org.apache.poi.ss.usermodel.Workbook
> >    [javac]         if(args.length > 0 && args[0].equals("-xls")) wb = 
new
> > HSSFWorkbook();
> >    [javac] ^
> 
> HSSFWorkbook is a Workbook. You almost certainly have multiple copies of 

> POI on your classpath. See the FAQ on the website for how to locate them
> 
> Nick
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
> 

Reply via email to