Looks like you are using POI on a server.

Set the Java JVM system property -Dheadless=true when invoking your 
application.

Regards,
Matt Robinson

AnupP <[email protected]> wrote on 19/02/2009 02:44:36 PM:

> 
> how to set Auto column size in excel through poi?
> i m getting this type of error.
> just belowing showing error i have mentioned
> java.lang.Error: Could not find class:
> com.eteks.java2d.PJAGraphicsEnvironment
>    java.awt.GraphicsEnvironment.getLocalGraphicsEnvironment(Unknown 
Source)
> 
> after exccom.eteks.java2d.PJAGraphicsEnvironment
> 
> -- 
> View this message in context: http://www.nabble.com/Set-Auto-column-
> size-in-excel-through-poi-tp22093940p22093940.html
> Sent from the POI - User mailing list archive at Nabble.com.
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
> 

---------------------------------------------------------------------------------------------------------------
Disclaimer:   
The information in this electronic mail message is confidential and may be 
legally privileged. 
It is intended solely for the addressee. Access to this Internet electronic 
mail message by anyone else is 
unauthorised. If you are not the intended recipient, any disclosure, copying, 
distribution or any action taken 
or omitted to be taken in reliance on it is prohibited and may be unlawful.  If 
you  have received this e-mail 
by mistake please call the sender immediately on 07 3853 5555 and erase the 
original message and any attachments.  
The Company accepts no responsibility for any effects this email message or 
attachments has on the recipient 
network or computer system.
---------------------------------------------------------------------------------------------------------------

Reply via email to