Back Forum Reply New

Problem parsing Spring config xml on WebSphere

Hi,

I'm not shure whether this is the right forum, but I don't know where to post else.

I try to inject a bean via Spring in a JSF managed bean but when I try to execute the injection I get the following error in WebSphere (6.1):Code:
javax.faces.el.EvaluationException: org..beans.factory.BeanDefinitionStoreException: Unexpected exception parsing XML document from class path resource [META-INF//configUnit.xml]; nested exception is java.lang.ClassCastException: com.ibm.ws.bo.util.NoDefDomDocumentBuilderFactoryImpl incompatible with javax.xml.parsers.DocumentBuilderFactory
I'm pretty new to Spring and have absolutely no clue where to start solving this problem. Any help is very aappreciated

Cheers
Simon

its looks like a classpath issue
try to fine the jar file which contain quot;com.ibm.ws.bo.util.NoDefDomDocumentBuilderFactory  Implquot; class
try this
either remove that particluar jar or re-order them
¥
Back Forum Reply New