第一次遇到spring的奇怪問題:cvc-elt.1: Cannot find the declaration of element 'beans'

今天下午想以源代碼的形式應用spring2.5,我沒記配置文件,因此到samples目錄下拷貝了一個applicationContext.xml,去掉不相關的(只用最基本的)以下: <?xml version="1.0" encoding="UTF-8"?> <beans xmlns="http://www.springframework.org/schema/beans" xmlns:xsi="
相關文章
相關標籤/搜索