I am trying to deploy an ear which has libs at ear level. I reference this libs in the war file(using manifest.mf).
While deploying the exception is
2005-11-24 12:54:36,358 ERROR [org.springframework.web.context.ContextLoader] Context initialization failed
java.lang.ClassCastException
at javax.xml.parsers.DocumentBuilderFactory.newInstance(Unknown Source)
at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:121)
I doubt this as some classloader issue, as at ear level i have xmlparsers.jar which is refered in the war.
How do i load my specific jars? I tried placing jboss-app.xml with <loader-repository> added but of no use.