Spring-namespeace

Spring中通过p命名空间为bean的属性复制,需要先导入p命名空间

我的eclipese并不是直接有的namespeace标签

原因可能是:springsource-tool-suite插件版本跟eclipse版本不兼容即版本不对;但我的版本是正确的,只是需要自己添加标签

添加标签步骤:Preference->Eiditors->File Associatior->File types中点击XML->Associated editors点击Spring Config.....->点击Apply and Close

          在bean的XML文件中右击->Open With->Spring Config Editor 

          大功告成  然后就能看到namespeace标签了

posted on 2019-07-01 11:50  目禾  阅读(102)  评论(0编辑  收藏  举报