qq_29513897
qq_29513897
采纳率0%
2016-02-09 08:25 阅读 4.6k

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

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

  • 点赞
  • 写回答
  • 关注问题
  • 收藏
  • 复制链接分享

4条回答 默认 最新

  • devmiao devmiao 2016-02-09 13:52
  • qq_27350929 xiedacon 2016-02-10 02:53
     <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">    
    

    试下这个

    点赞 评论 复制链接分享
  • qq_27350929 xiedacon 2016-02-10 02:54
     <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">    
    

    试下这个

    点赞 评论 复制链接分享
  • Castiel810 Castiel810 2021-01-31 10:55

    这啥情况

    点赞 评论 复制链接分享

相关推荐