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


#1

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,

doc.save(response.getOutputStream(), 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.

Thanks,

ANand Basutkar


#2

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,


#3

Hi, Anand,

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

Best Regards,