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就配置好了,现在可以提示了。


原文地址:https://www.cnblogs.com/zhousiwei/p/10625846.html