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

Free Support Forum - aspose.com

Package org.jcp.xml.dsig.internal.dom does not exist

Hi friends,

I´m evaluating OCR product family but when I try to compile the project, I get the following error message:
"package org.jcp.xml.dsig.internal.dom does not exist" import org.jcp.xml.dsig.internal.dom.Utils

I have the following packages in my LIB folder:
aspose-ocr-17.6.jar
xmlsec-2.0.jar
JDK 1.8

What´s wrong ?

Thank´s

@fabiomarcos,

We have evaluated the issue. We are unable to reproduce the issue at our end. The test was carried out on machine with following settings:

OS: Windows 10 (64 bit)
JAR Libraries:
aspose-ocr-17.6.jar
xmlsec-2.0.jar
Java version: jdk1.8.0_101

It is therefore requested that more information be shared about the machine/environment so that we may look into it and update you about our findings.

Ok,

My settings are:

OS: Windows 10 (64 bit)
aspose-ocr-17.6.jar
xmlsec-2.0.jar
JAVA version: jdk1.8.0_101
IDE NetBeans

The message error is:
" error: package org.jcp.xml.dsig.internal.dom does not exist import org.jcp.xml.dsig.internal.dom.Utils;"
warning: [unchecked] unchecked conversion Set keys = page.keySet(); ^
required: Set
found: Set
1 error"

Please mark as a solved.

Solution: removed defective import “dsing.internal.dom.utils()”;

Thanks;

@fabiomarcos,

It is good to know that the issue has been resolved. Thank you for update.