編寫spring配置檔案時,不能出現幫助資訊

2022-05-23 23:15:11 字數 346 閱讀 6996

由於spring的schema檔案位於網路上,如果機器不能連線到網路,那麼在編寫配置資訊時候就無法出現提示資訊,解決方法有兩種:

2。手動新增schema檔案,方法如下:

windwos->preferences->myeclipse->files and editors->xml->xmlcatalog

點"add",在出現的視窗中的key type中選擇uri,在location中選"file system",然後在spring解壓目錄的dist/resources目錄中選擇spring-beans-2.5.xsd,回到設定視窗的時候不要急著關閉視窗,應把視窗中的key type改為schema location,key改為

編寫spring配置檔案時,不能出現幫助資訊

由於spring的schema檔案位於網路上,如果機器不能連線到網路,那麼在編寫配置資訊時候就無法出現提示資訊,解決方法有兩種 2。手動新增schema檔案,方法如下 windwos preferences myeclipse files and editors xml xmlcatalog 點 a...

編寫spring配置檔案時,不能出現幫助資訊

由於spring的schema檔案位於網路上,如果機器不能連線到網路,那麼在編寫配置資訊時候就無法出現提示資訊,解決方法有兩種 2。手動新增schema檔案,方法如下 windwos preferences myeclipse files and editors xml xmlcatalog 點 a...

spring配置檔案

1 配置檔案的簡化 1 屬性的 property name foo value foovalue value property 簡化為 property name foo value foovalue 2 引用bean property name foo ref bean foobean prope...