Configuration problem: Duplicate <http> element detected

web.xml里配了:

    <context-param>
        <param-name>contextConfigLocation</param-name>
        <param-value>
          /WEB-INF/spring-context/applicationContext.xml,
          /WEB-INF/spring-context/applicationContext_action.xml,
          /WEB-INF/spring-context/applicationContext_dao.xml,
          /WEB-INF/spring-context/applicationContext_service.xml,
          /WEB-INF/spring-context/applicationContext_security.xml,
          </param-value>
    </context-param>

然后在applicationContext.xml 又配了:

<!--    <import resource="applicationContext_dao.xml" />-->
<!--    <import resource="applicationContext_service.xml" />-->
<!--    <import resource="applicationContext_action.xml" />-->

<!--    <import resource="applicationContext_security.xml" />-->

重复了

时间: 2024-09-12 13:19:13

Configuration problem: Duplicate &lt;http&gt; element detected的相关文章

偶遇-Two Filesystems with the same UUID have been detected. Make sure you do not have two ESXi installations

公司计划作一个ESX的快速备份恢复方案, 就是将备份下来的VMX文件的硬盘直接插入另一个ESX机器,充当另一个DATASTORE.可以快速重建一个完整的GUEST OS. 对业务连续性影响最小---相对于通过网络恢复近T的数据. 嘿,你没说,这方面还真可行呢!!! 但在将两个安装有ESXI4.1的硬盘叠加在一起启动的时候,偶遇了以下粉色系错误. Two Filesystems with the same UUID have been detected. Make sure you do not

Project configuration is not up-to-date with pom.xml. Run Maven-&gt;Update Project or use Quick Fix

完整错误信息: Description Resource Path Location TypeProject configuration is not up-to-date with pom.xml. Run Maven->Update Project or use Quick Fix. xunge-web line 1 Maven Configuration Problem 解决办法:

spring入门(16) spring常见错误总结

在学习spring过程中遇见了种种不同的异常错误,这里做了一下总结,希望遇见类似错误的同学们共勉一下. 1. 错误一 Error creating bean with name 'helloServiceImpl' defined in class path resource [spring-service.xml]: Error setting property values; nested exception is org.springframework.beans.NotWritableP

Spring10种常见异常解决方法

在程序员生涯当中,提到最多的应该就是SSH三大框架了.作为第一大框架的Spring框架,我们经常使用. 然而在使用过程中,遇到过很多的常见异常,我在这里总结一下,大家共勉. 一.找不到配置文件的异常 org.springframework.beans.factory.BeanDefinitionStoreException: IOException parsing XML document from class path resource [com/herman/ss/controller];

class-Spring配置文件中DOCTYPE与&amp;amp;lt;beans xmlns&amp;amp;gt;冲突问题

问题描述 Spring配置文件中DOCTYPE与<beans xmlns>冲突问题 这是DPCTYPE <!DOCTYPE beans PUBLIC "-//SPRING//DTD BEAN//EN" "http://www.springframework.org/dtd/spring-beans.dtd"> 这是beans里的配置 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instan

Failed to create or upgrade OLR

    对于Oracle 11g RAC 的安装,与Oracle 10g(clusterware)类似,grid 安装完毕后需要执行orainstroot.sh和root.sh,如果是AMD芯片,Oracle说不认识啊,那就要恭喜一下你又多了一次patch的亲密接触,这个错误提示是Failed to create or upgrade OLR.客官,中招了?接着往下看... 1.安装时的环境 操作系统(Oracle linux 5.5 32bit) [root@node1 ~]# cat /et

spring-Spring配置文件中DOCTYPE与&amp;amp;lt;beans xmlns&amp;amp;gt;冲突问题

问题描述 Spring配置文件中DOCTYPE与<beans xmlns>冲突问题 这是DOCTYPE <!DOCTYPE beans PUBLIC "-//SPRING//DTD BEAN//EN" "http://www.springframework.org/dtd:/spring-beans.dtd"> 这是beans里的配置 xmlns:xsi="http://www.w3.org/2001/XMLSchema-insta

spring batch 说step取不到 求大神!!!!!!!!!!

问题描述 spring batch 说step取不到 求大神!!!!!!!!!! 错误信息:信息: Loading XML bean definitions from class path resource [message_job.xml]Exception in thread ""main"" org.springframework.beans.factory.parsing.BeanDefinitionParsingException: Configurati

spring mvc-maven+springmvc开发的web工程,发布到tomcat时抛出异常,哪位大神给看看

问题描述 maven+springmvc开发的web工程,发布到tomcat时抛出异常,哪位大神给看看 Exception sending context initialized event to listener instance of class org.springframework.web.context.ContextLoaderListener org.springframework.beans.factory.parsing.BeanDefinitionParsingExcepti