开发者社区> 问答> 正文

spring配置文件中引入context命名空间却不能使用context标签

myeclipse中spring配置文件的 命名空间 为什么导入了相对应的命名空间但是 相对应的标题却不能使用 求大神

展开
收起
蛮大人123 2016-05-31 13:13:25 7875 0
2 条回答
写回答
取消 提交回答
  • 试试这个:
    2019-07-17 19:21:49
    赞同 展开评论 打赏
  • 我说我不帅他们就打我,还说我虚伪
    <beans xmlns="http://www.springframework.org/schema/beans"     
        xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"           
        xmlns:context="http://www.springframework.org/schema/context"   
        xmlns:aop="http://www.springframework.org/schema/aop"       
        xmlns:tx="http://www.springframework.org/schema/tx"         
        xmlns:util="http://www.springframework.org/schema/util"         
        xmlns:p="http://www.springframework.org/schema/p"               
        xsi:schemaLocation="http://www.springframework.org/schema/beans                             
                            http://www.springframework.org/schema/beans/spring-beans-3.0.xsd        
                            http://www.springframework.org/schema/context                           
                            http://www.springframework.org/schema/context/spring-context-3.0.xsd    
                            http://www.springframework.org/schema/aop                               
                            http://www.springframework.org/schema/aop/spring-aop-3.0.xsd
                            http://www.springframework.org/schema/tx                            
                            http://www.springframework.org/schema/tx/spring-tx-3.0.xsd                      
                            http://www.springframework.org/schema/util                          
                            http://www.springframework.org/schema/util/spring-util-3.0.xsd">   
    2019-07-17 19:21:49
    赞同 展开评论 打赏
问答排行榜
最热
最新

相关电子书

更多
云栖社区特邀专家徐雷Java Spring Boot开发实战系列课程(第20讲):经典面试题与阿里等名企内部招聘求职面试技巧 立即下载
微服务架构模式与原理Spring Cloud开发实战 立即下载
阿里特邀专家徐雷Java Spring Boot开发实战系列课程(第18讲):制作Java Docker镜像与推送到DockerHub和阿里云Docker仓库 立即下载

相关实验场景

更多