Missing commons-codec was a bug in POI-3.8. The problem is fixed in
POI-3.9 that has just been released and will be announced tomorrow or
on Saturday, when the files reach distribution mirrors.

Your workaround is OK, but why to bother? Can you simply put
commons-codec in the classpath?

> I don't see anything on the POI website or javadocs that mentions this 
> dependency).
commons-codes is listed as a dependency on http://poi.apache.org/overview.html

Yegor

On Thu, Dec 6, 2012 at 10:52 PM, Rob <[email protected]> wrote:
> Sorry - I just figured out how to search gmane, and there are mentions of the
> commons-codec dependency on here.
>
> Still, my question remains.  Is it inadvisable to manually combine the two 
> jars?
>  One of the posts mentions that there might be a 3.8.1 release that includes
> commons-codec, so it sounds like what I did makes sense.
>
> On the bright side, this exact code is the reason I upgraded to 3.8 from 3.6.
> In 3.6, it didn't work to add pictures to two sheets in the same workbook.  I
> think 3.8 changed addPicture to use the md5sum of the picture file as some 
> kind
> of globally unique id instead of stepping on the id's of pictures in other
> sheets. And it works. Nice.
>
>
>
> ---------------------------------------------------------------------
> 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]

Reply via email to