[jboss-dev-forums] [JBoss AS 7 Development] - 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

Gianluca Mazzaferro do-not-reply at jboss.com
Wed Mar 21 07:36:13 EDT 2012


Gianluca Mazzaferro [https://community.jboss.org/people/giama] created the discussion

"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"

To view the discussion, visit: https://community.jboss.org/message/725306#725306

--------------------------------------------------------------
:-/ 

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
[https://community.jboss.org/message/725306#725306]

Start a new discussion in JBoss AS 7 Development at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2225]

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-dev-forums/attachments/20120321/4d40407a/attachment.html 


More information about the jboss-dev-forums mailing list