引入dubbo.xsd及codetemplates.xml

来源:互联网 发布:js识别android ios 编辑:程序博客网 时间:2024/06/05 17:35

一、引入dubbo.xsd

   (1)打开配置preferrence

   windows:windows->preferrence->xml->xmlcatalog

   mac:Eclipse->偏好设置->xml->xmlcatalog


 (2)  添加dubbo.xsd

  add->catalog entry  ->点击 file system-> 选择文件dubbo.xsd

  Key type: Namespace name

  Key:http://code.alibabatech.com/schema/dubbo

  

  再次点击 add->catalog entry  ->点击 file system -> 选择文件dubbo.xsd

  Key type: Schema location

  Key:http://code.alibabatech.com/schema/dubbo/dubbo.xsd



   (3)上述步骤完毕后,点击Project->Clean  清理所在工程或全部工程, 亦或重启Eclipse即可


二 、引入codetemplates.xml

1)Window:Window->Preferences->Java->Code Style->Code Templates ->Import    选择codetemplates.xml文件即可

Mac:Eclipse->偏好设置->Java->Code Style->Code Templates ->Import选择codetemplates.xml文件即可

       codetemplates.xml下载



0 0
原创粉丝点击