org.springframework.beans.factory.BeanDefinitionStoreException: Unexpected exception parsing XML document from file [C:/Documents and Settings/dk068x/workspace3/DynamicContent/WebContent/WEB-INF/applicationContext.xml]; nested exception is java.lang.NoSuchMethodError: org.springframework.core.type.AnnotationMetadata.isAnnotated(Ljava/lang/String;)Z

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via Spring JIRA by David M. Karr, 1 year ago
Unexpected exception parsing XML document from file [C:/Documents and Settings/dk068x/workspace3/DynamicContent/WebContent/WEB-INF/applicationContext.xml]; nested exception is java.lang.NoSuchMethodError: org.springframework.core.type.AnnotationMetadata.isAnnotated(Ljava/lang/String;)Z
via Spring JIRA by David M. Karr, 1 year ago
Unexpected exception parsing XML document from file [C:/Documents and Settings/dk068x/workspace3/DynamicContent/WebContent/WEB-INF/applicationContext.xml]; nested exception is java.lang.NoSuchMethodError: org.springframework.core.type.AnnotationMetadata.isAnnotated(Ljava/lang/String;)Z
via Spring JIRA by Danny Ju, 1 year ago
Unexpected exception parsing XML document from file [C:/Rainier/GA/eclipse/workspace/Spring2.5/WebContent/WEB-INF/applicationConte xt.xml]; nested exception is java.lang.NoSuchMethodError: org.springframework.beans.MutablePropertyValues.add(Ljava/lang/String;Ljava/la ng/Object;)Lorg/springframework/beans/MutablePropertyValues;
via Spring JIRA by Danny Ju, 1 year ago
Unexpected exception parsing XML document from file [C:/Rainier/GA/eclipse/workspace/Spring2.5/WebContent/WEB-INF/applicationConte xt.xml]; nested exception is java.lang.NoSuchMethodError: org.springframework.beans.MutablePropertyValues.add(Ljava/lang/String;Ljava/la ng/Object;)Lorg/springframework/beans/MutablePropertyValues;
via Spring JIRA by Mike Youngstrom, 1 year ago
Unexpected exception parsing XML document from file [C:/temp/tempworkspace/test-handler2/src/main/webapp/WEB-INF/spring/app-config.xml]; nested exception is java.lang.RuntimeException: Failed to load class from classpath
via Spring JIRA by Mike Youngstrom, 1 year ago
Unexpected exception parsing XML document from file [C:/temp/tempworkspace/test-handler2/src/main/webapp/WEB-INF/spring/app-config.xml]; nested exception is java.lang.RuntimeException: Failed to load class from classpath
java.lang.NoSuchMethodError: org.springframework.core.type.AnnotationMetadata.isAnnotated(Ljava/lang/String;)Z
at org.springframework.context.annotation.AnnotationConfigUtils.processCommonDefinitionAnnotations(AnnotationConfigUtils.java:165)
at org.springframework.context.annotation.ClassPathBeanDefinitionScanner.doScan(ClassPathBeanDefinitionScanner.java:213)
at org.springframework.beans.factory.xml.NamespaceHandlerSupport.parse(NamespaceHandlerSupport.java:72)
at org.springframework.beans.factory.xml.BeanDefinitionParserDelegate.parseCustomElement(BeanDefinitionParserDelegate.java:1327)
at org.springframework.beans.factory.xml.BeanDefinitionParserDelegate.parseCustomElement(BeanDefinitionParserDelegate.java:1317)
at org.springframework.beans.factory.xml.DefaultBeanDefinitionDocumentReader.parseBeanDefinitions(DefaultBeanDefinitionDocumentReader.java:135)
at org.springframework.beans.factory.xml.DefaultBeanDefinitionDocumentReader.registerBeanDefinitions(DefaultBeanDefinitionDocumentReader.java:92)
at org.springframework.ide.eclipse.beans.core.internal.model.BeansConfig$2.registerBeanDefinitions(BeansConfig.java:351)
at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.doLoadBeanDefinitions(XmlBeanDefinitionReader.java:372)
at org.springframework.ide.eclipse.beans.core.internal.model.BeansConfig$2.loadBeanDefinitions(BeansConfig.java:338)
at org.springframework.ide.eclipse.beans.core.internal.model.BeansConfig$3.call(BeansConfig.java:380)
at org.springframework.ide.eclipse.beans.core.internal.model.BeansConfig$3.call(BeansConfig.java:1)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
at java.util.concurrent.FutureTask.run(FutureTask.java:138)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
at java.util.concurrent.FutureTask.run(FutureTask.java:138)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
at java.lang.Thread.run(Thread.java:619)

Users with the same issue

Samebug visitor profile picture
Unknown user
Once, 1 year ago

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.