Free Support Forum - aspose.com

Aspose words error

Hi,

I have previously been able to use apose words in coldfusion 7. After upgrading to coldfusion 8 - I get this error message

Oject Instantiation exception - an error occurred when instantiating a java object. The class must not be an interface or an abstract class. Error: org/jaxen/JaxenException.

Can anyone help?

Thanks

Hi, Alan,

From your info I can realize only that you are using Xpath navigation functionality of Aspose.Words (that uses Jaxen for Xpath). Please, provide additional info:

· what version of jdk and Aspose.Words for Java you are using

· short code snippet and document (if applicable) that causes the exception

· stack trace.

Best Regards,

We didnt include the jaxen jar file!

Thanks for the response

Hi, Alan,

So you do not using Xpath and do not include jaxen.jar but your application wants to find JaxenException, right? And adding jaxen.jar to the classpath solved the problem?

Regards,

I copied the files from the aspose words zip but forgot to copy the jaxen one.

Copied this over and eveything is ok.