We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

Convert Dynamic XFA to Standard AcroForm in Java using Aspose.PDF - Utils cannot be resolved


Before purhasing Aspose.Pdf for Java I want to test it if can work perfectly what I need.

I download lib and example and set their path in eclipse I tested the xfa to standrad pdf.java but

import com.aspose.pdf.examples.Utils cannot be resolved. Please help.

Hi there,

Thanks for your inquriy. We have tested the Aspose.Pdf for Java and unable to notice any build error. Please open pom.xml file from GitHub downloaded examples as suggested in following documentation link, it will help you to test the examples.

Please feel free to contact us for any further assistance.

Best Regards,


I was able to import the project in eclipse IDE but found the following error. Screenshot attached.

Please tell how to run DynamicXFAToAcroForm.java in eclipse Ide.


Hi there,

We are sorry for the inconvenience. We will look into the examples project will update you accordingly.

Meanwhile you can use following code in eclipse id to convert XFA dynamic PDF to AcroFrom after including Aspose.Pdf Jar in your project.

// Load dynamic XFA form<o:p></o:p>

Document document = new Document("XFAform.pdf");

// Set the form fields type as standard AcroForm


// Save the resultant PDF


Best Regards,