Eclipse中配置Ehcache提示信息

下载 ehcache .xsd文件

1、首先将 ehcache.xml 的 <ehcache> 元素的 xsi:noNamespaceSchemaLocation 属性进行修改,本例为 xsi:noNamespaceSchemaLocation="http://ehcache.xsd"

2、打开eclipse,依次点击 Window -> Preferences -> XML -> XML Catalog
-> User Specified Entries ,点击 Add 按钮,选择 Catalog Entry ,在 Location 输入 ehcache.xsd 路径,key type 选择 Schema location ,key 值填写步骤1中设置的xsi:noNamespaceSchemaLocation属性值http://ehcache.xsd ,点击ok就配置好了,现在可以提示了。

2743275-45c3ba96727d6622.png
image.png
posted @ 2017-12-20 16:55  試毅-思伟  阅读(108)  评论(0编辑  收藏  举报