Spire.Doc is a professional Word .NET library specifically designed for developers to create, read, write, convert and print Word document files. Get free and professional technical support for Spire.Doc for .NET, Java, Android, C++, Python.

Thu Dec 07, 2023 7:22 am

Hi Team ,

I am getting below mentioned exception :-

Exception in thread "Thread-1" java.lang.NoClassDefFoundError: com/spire/xls/Workbook.


I have added spire.office dependency in pom.xml file

<dependency>
<groupId>e-iceblue</groupId>
<artifactId>spire.office</artifactId>
<version>8.4.5</version>
</dependency>

pr20080798
 
Posts: 159
Joined: Wed Jan 20, 2021 1:15 pm

Thu Dec 07, 2023 8:24 am

Hello,

Thanks for your inquiry.
Based on the information provided, it seems that you are not using the latest version of Spire.Office. Therefore, I would recommend upgrading to the latest version, specifically Spire.Office for Java Version: 8.11.3, and retesting your scenario.
After upgrading, please perform the necessary tests again to see if the issue persists. If the issue still exists, kindly provide us with your test document (if available) and the complete testing code so that we can further investigate the issue. You could attach them here or send them to us via email ([email protected]). Thanks in advance.
Upgrading to the latest version often includes bug fixes and improvements, which may help address the problem you encountered. We appreciate your cooperation in this matter and look forward to assisting you further.

Best regards,
Annika
E-iceblue support team
User avatar

Annika.Zhou
 
Posts: 1657
Joined: Wed Apr 07, 2021 2:50 am

Thu Dec 07, 2023 10:22 am

We need to buy new license to upgrade the version?

pr20080798
 
Posts: 159
Joined: Wed Jan 20, 2021 1:15 pm

Fri Dec 08, 2023 2:41 am

Hello,

Thank you for your feedback.
Upon checking our records, we found that your current license for Spire.Office is set to expire on May 13th of this year. Therefore, your license does not cover the latest version of Spire.Office.
To facilitate your testing with the latest version of Spire.Office, we are pleased to offer you a temporary one-month license. You can apply for it by visiting the following link: https://www.e-iceblue.com/TemLicense.html
This temporary license will grant you access to the latest version of Spire.Office, allowing you to explore its features and test your projects effectively.
If you have any questions or require further assistance during the application process or while using the latest version, please feel free to contact us.

Best regards,
Annika
E-iceblue support team
User avatar

Annika.Zhou
 
Posts: 1657
Joined: Wed Apr 07, 2021 2:50 am

Return to Spire.Doc