Use the Document class in the java2word package to create a new Document

Source: Internet
Author: User

1. Use the Document class in the java2word package to create a new Document. The error message is: you must use Document doc = new Docuemnt () in the project. The file cannot be created. The initialization exception is java. lang. exception: An error occurred while initializing the class library. Check whether the installer has been installed on this machine. Solution: 1. Unzip the. rar compressed file first, follow the steps below to continue; 2. Install the. exe file first (this file is included in the file), and put java2word. copy jar to the lib directory; 3 ). after installation, if the system is 32-bit, there is a jacob in C: \ Windows \ System32. dll; if the system is 64-bit, there is a jacob in C: \ Windows \ SysWOW64. dll. 4 ). find jacob. dll, copy it to the Directory D: \ apache-Tomcat-7.0.32 \ bin, and copy it to the Directory D: \ Programes \ Java \ jdk1.6.0 _ 29 \ bin; 5 ). restart the project tomcat server. 6 ). make sure that you have installed the complete office

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.