Exception in thread "main" org.springframework.beans.factory.parsing.BeanDefinitionParsingException: Configuration problem: Failed to import bean definitions from relative location [context-core.xml]
Offending resource: class path resource [applicationContext.xml]; nested exception is org.springframework.beans.factory.BeanDefinitionStoreException: Unexpected exception parsing XML document from class path resource [context-core.xml]; nested exception is java.lang.NoSuchMethodError: org.springframework.beans.MutablePropertyValues.add(Ljava/lang/String;Ljava/lang/Object;)Lorg/springframework/beans/MutablePropertyValues;
at org.springframework.beans.factory.parsing.FailFastProblemReporter.error(FailFastProblemReporter.java:68)
at org.springframework.beans.factory.parsing.ReaderContext.error(ReaderContext.java:85)
at org.springframework.beans.factory.parsing.ReaderContext.error(ReaderContext.java:76)
at org.springframework.beans.factory.xml.DefaultBeanDefinitionDocumentReader.importBeanDefinitionResource(DefaultBeanDefinitionDocumentReader.java:201)
at org.springframework.beans.factory.xml.DefaultBeanDefinitionDocumentReader.parseDefaultElement(DefaultBeanDefinitionDocumentReader.java:147)
at org.springframework.beans.factory.xml.DefaultBeanDefinitionDocumentReader.parseBeanDefinitions(DefaultBeanDefinitionDocumentReader.java:132)
at org.springframework.beans.factory.xml.DefaultBeanDefinitionDocumentReader.registerBeanDefinitions(DefaultBeanDefinitionDocumentReader.java:92)
at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.registerBeanDefinitions(XmlBeanDefinitionReader.java:507)
at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.doLoadBeanDefinitions(XmlBeanDefinitionReader.java:398)
at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:342)
at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:310)
at org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:143)
at org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:178)
at org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:149)
at org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:212)
at org.springframework.context.support.AbstractXmlApplicationContext.loadBeanDefinitions(AbstractXmlApplicationContext.java:113)
详细解决方案
new ClassPathXmlApplicationContext("applicationContext.xml")报错,该如何解决
热度:608 发布时间:2016-04-12 22:22:55.0
相关解决方案
- struts2 对象属性流入不进去, 报错:target is null for setProperty(null, "x" [Ljava.lang.Stri
- request.setAttribute("list" "''");该怎么解决
- Exception in thread "main" org.hibernate.HibernateException: /hibernate.cfg.xml解决办法
- struts2标签 <s:if test="表达式">表达式的写法解决方案
- xml文件不能被准确解析/The processing instruction target matching "[xX][mM][lL]" is not al
- sql中获取d天后的日期,格式为"yyyyMMdd"怎么做到
- spring @Scope("prototype")注解更新有关问题,寻求帮助
- 怎么在eclipse的JSP裡在使用JS語法時可以直接""後出現方法
- 关于request.getParamater("name")若干疑点,html5新特性placeholder
- java.lang.NumberFormatException: For input string: "id"该如何处理
- 怎么取<s:property value="news.CONTENT" escape="false"/>内容前几位
- 为什么Ext.getCmp("panelID").collapsed = false;无效呢
- 新人第一帖!JSF有关问题:<h:inputText value="{user.name}"/>
- request.setAttribute("message" message)不能传int参数,该怎么处理
- 关于 if(rs.getString("").trim().equals(""))解决办法
- <base href="<%=basePath%>"> 有关问题
- form 表单交付 <form action="<c:url value='desktop'/>"
- java报错Syntax error on token "return" invalid Type解决方案
- applicationContext.xml怎么和JAVA代码关联
- ENCTYPE="multipart/form-data"文件下传有关问题
- request.setAttribute("message" message)不能传int参数,该怎么解决
- 关于 if(rs.getString("").trim().equals("")),该如何处理
- 不走"<script type='text/javascript'>"标签咋回事
- jsp 页面 安插ArrayList 报错。为什么,已经加了import="java.util."了呀!
- enctype="multipart/form-data"的页面中,获取普通表单中文值,
- <input type="hidden" name="" value="" />请教这句话的name,value什么意思
- confirm("确定退出系统?") 点击撤除按钮依然执行退出操作
- JSP 页面乱码 页面起首已设置 contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"
- struts.xml资料中的namespace"/"当在/后加东西时没起作用
- 算法求解String str = "A,B,C,A,B,A"解决办法