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.

Wed Jan 24, 2024 12:22 pm

I have a problem with Free Spire.Office for Java. When I try to call the function saveToImages on Doc I get an error:
java.lang.NoSuchMethodError: 'com.spire.office.packages.sprqhma com.spire.license.LicenseProvider.validateVarAndGetInfo(java.lang.String)'

I downloaded the jar file from the e-iceblue

lukasz.walczak
 
Posts: 2
Joined: Sun Jun 18, 2023 11:45 am

Thu Jan 25, 2024 2:55 am

Hello,

Thank you for your inquiry.
Based on the information provided, I suspect that your project might include not only the Spire.Office JAR file but also other component JAR files (such as Spire.PDF or Spire.Xls). Please note that our free version of Spire.Office includes the free versions of Spire.Doc, Spire.PDF, Spire.Xls, and Spire.Presentation. These components are independent and incompatible with each other, meaning that a project can only have one component from this set.
To resolve this issue, please check the JAR files that your project has imported and ensure that only the necessary JAR file corresponding to the specific component you require is included. Remove any conflicting JAR files from your project's dependencies.
If you have any further questions or need assistance with anything else, please feel free to ask.

Sincerely,
Annika
E-iceblue support team
User avatar

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

Return to Spire.Doc

cron