https://bz.apache.org/bugzilla/show_bug.cgi?id=69742

aniu007 <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 OS|                            |All

--- Comment #1 from aniu007 <[email protected]> ---


Hello, when I was converting a word file to an XWPFDocument, an error occurred.
The error message is: java.io.IOException: Failed to read zip entry source.

My development environment is as follows:

window 11

jdk 11.0.10



pom configuration

<dependency>

<groupId>fr.opensagres.xdocreport</groupId>

<artifactId>org.apache.poi.xwpf.converter.xhtml</artifactId>

The < version > 1.0.6 < / version >

</dependency>



Related code

File temp_word_file = new File("D:\\website\\temp\\myWordFile.docx");

InputStream in = new FileInputStream(temp_word_file);

XWPFDocument document = new XWPFDocument(in);

When the code runs to XWPFDocument document = new XWPFDocument(in), an error
message of java.io.IOException: Failed to read zip entry source will be
reported.



My word file has been uploaded to attachment. Please download it for
verification. Thank you.

If you find any problems or solutions, please contact me at [email protected] in
time. Thank you.

-- 
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to