如何在创建spring配置文件的时候添加xsd描述

2025-03-24 21:27:13
推荐回答(1个)
回答1:

1、在myeclipse中找到xml的配置项:window--->preferences搜索xml, 找到XML Catalog

2、添加xsd文件

1)下面是从spring官网下载的spring framework压缩包,里边就有所有schema,找到beans

2)location指定的就是spring-beans的xsd文件的位置