JBoss Community

Re: AS7 7.1.1.Final: java.lang.ClassCastException: org.jcp.xml.dsig.internal.dom.DOMXMLSignatureFactory cannot be cast to javax.xml.crypto.dsig.XMLSignatureFactory

created by Gianluca Mazzaferro in JBoss AS 7 Development - View the full discussion

:-/

 

i can't fallback...

 

:(

 

i'm porting a project from jboss 4.2.3 to as7.. it's very very hard to do... i solved several problem. i can't believe this classcast is unsolvable... it's just a classcast... X-(

 

 

i just tried to cast to new class the getInstance statement

 




org.jcp.xml.dsig.internal.dom.DOMXMLSignatureFactory signatureFactory = (org.jcp.xml.dsig.internal.dom.DOMXMLSignatureFactory) XMLSignatureFactory.getInstance("DOM");

 

who tried this? i'm getting same exception.. but i think it's impossible.. what's wrong?

Reply to this message by going to Community

Start a new discussion in JBoss AS 7 Development at Community