Error - The type java.lang.Iterable cannot be resolved


I am using evaluation version. Generating word document by your demo code.

As i am using struts, i copied the respective code from servlet.

Code is compiled till the following line,, SaveFormat.FORMAT_DOCUMENT);

Error : The type java.lang.Iterable cannot be resolved. It is indirectly referenced from required .class files

Please let me know what is wrong.


ANand Basutkar


We have not tested our component with struts yet so I cannot provide qualified advice now. The demos are working well in standard Java environment. Try to simplify your test to find out what is going wrong exactly.

Best regards,


Hi, Anand,

Can you provide additional info, please? Do you using jdk 1.4 and higher?

Best Regards,