org.springframework.beans.factory.BeanDefinitionStoreException: Unexpected exception parsing XML document from file [C:\DISK1_VOL1\workspaces\personal\MyStringAspect\Application.xml]; nested exception is[b] java.lang.NoClassDefFoundError: org/aopalliance/aop/Advice[/b]


Solutions on the web513

Solution icon of coderanch
via Coderanch by Vijay Kumar, 9 months ago
Unexpected exception parsing XML document from file [C:\DISK1_VOL1\workspaces\personal\MyStringAspect\Application.xml]; nested exception is[b] java.lang.NoClassDefFoundError: org/aopalliance/aop/Advice[/b]

Solution icon of stackoverflow
Unexpected exception parsing XML document from class path resource [applicationContext.xml]; nested exception is java.lang.NoClassDefFoundError: org/springframework/aop/TargetSource

Solution icon of stackoverflow
Unexpected exception parsing XML document from ServletContext resource [/WEB-INF/mvc-dispatcher-servlet.xml]; nested exception is java.lang.NoClassDefFoundError: org/springframework/beans/factory/config/InstantiationAwareBeanPostProcessor

Solution icon of stackoverflow
Unexpected exception parsing XML document from ServletContext resource [/WEB-INF/spring-ws-servlet.xml]; nested exception is java.lang.NoClassDefFoundError: javax/xml/namespace/QName

Solution icon of web
Unexpected exception parsing XML document from class path resource [cxf.xml]; nested exception is org.springframework.beans.FatalBeanException: Invalid NamespaceHandler class [org.apache.cxf.jaxws.spring.NamespaceHandler] for namespace [http

Solution icon of web
Unexpected exception parsing XML document from URL [jar:file:/C:/bea1002/WLSERV~1.0/platform/lib/p13n/p13n_system.jar!/META-INF/com.bea.wlp.services.xml]; nested exception is java.lang.IllegalArgumentException: Class [org.springframework.scripting.config.LangNamespaceHandler] does not implement the NamespaceHandler interface

Solution icon of oraclecommunity
via Oracle Community by 666705, 1 year ago
Unexpected exception parsing XML document from URL [jar:file:/C:/bea1002/WLSERV~1.0/platform/lib/p13n/p13n_system.jar!/META-INF/com.bea.wlp.services.xml]; nested exception is java.lang.IllegalArgumentException: Class [org.springframework.scripting.config.LangNamespaceHandler] does not implement the NamespaceHandler interface

Solution icon of web
via hivmr.com by Unknown author, 1 year ago
Unexpected exception parsing XML document from URL [jar:file:/C:/bea1002/WLSERV~1.0/platform/lib/p13n/p13n_system.jar!/META-INF/com.bea.wlp.services.xml]; nested exception is java.lang.IllegalArgumentException: Class [org.springframework.scripting.config.LangNamespaceHandler] does not implement the NamespaceHandler interface

Solution icon of stackoverflow
Unexpected exception parsing XML document from ServletContext resource [/WEB-INF/applicationContext.xml]; nested exception is java.lang.ClassCastException: weblogic.xml.jaxp.RegistryDocumentBuilderFactory cannot be cast to javax.xml.parsers.DocumentBuilderFactory

Solution icon of oraclecommunity
Unexpected exception parsing XML document from class path resource [applicationContext.xml]; nested exception is java.lang.NoSuchMethodError: org.apache.xerces.impl.xpath.regex.RegularExpression.<init>(Ljava/lang/String;Ljava/lang/String;Ljava/util/Locale;)V

Stack trace

org.springframework.beans.factory.BeanDefinitionStoreException: Unexpected exception parsing XML document from file
 [C:\DISK1_VOL1\workspaces\personal\MyStringAspect\Application.xml]; nested exception is[b] java.lang.NoClassDefFoundError: org/aopalliance/aop/Advice[/b]
	at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.doLoadBeanDefinitions(XmlBeanDefinitionReader.java:412)
	at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:334)
	at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:302)
	at org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:174)
	at org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:209)

Write tip

You have a different solution? A short tip here would help you and many other users who saw this issue last week.

Users with the same issue

Samebug visitor profile picture
Unknown user
Once, 3 months ago
3 times, 10 months ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
20 times, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
33 more bugmates