Hello
We are working on developing electronic signature for Facturae in Spain for our clients, usando JAVA 8 sobre WebSphere 9.0
When we sign documents, we get the following exception:
java.lang.ClassCastException: org.apache.jcp.xml.dsig.internal.dom.DOMReference incompatible with com.ibm.xml.crypto.dsig.dom.ReferenceImpl [14/08/25 11:43:57:749 CEST] 000000dd SystemOut O Signature error java.lang.ClassCastException: org.apache.jcp.xml.dsig.internal.dom.DOMReference incompatible with com.ibm.xml.crypto.dsig.dom.ReferenceImpl
We have tried to set the security provider by modifying java.security and adding:
java.security
security.provider.1=org.apache.jcp.xml.dsig.internal.dom.XMLDSigRI
But it doesn’t take effect.
Can anyone guide us on how to find a solution?
Thanks.