org.xml.sax.SAXParseException,schema_reference.4:シナリオドキュメントを読み込めません
1190 ワード
org.xml.sax.SAXParseException; lineNumber: 18; columnNumber: 12; schema_reference.4:シナリオドキュメントを読み込めません'http://www.springframework.org/schema/beans/spring-beans-3.1.0.xsd',理由1)ドキュメントが見つかりません.2)文書を読めない;3)ドキュメントのルート要素は違います. at com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.createSAXParseException(ErrorHandlerWrapper.java:203) .... Caused by: java.io.FileNotFoundException: http://www.springframework.org/schema/beans/spring-beans-3.1.0.xsd at sun.net.www.protocol.http.HttpURLConnection.getInputStream0(HttpURLConnection.java:1890) .....
このエラーの原因はspringmvc.xmlの構成でバージョン番号を書き間違えたためです(インポートしたjarパッケージのバージョンと一致しません)
あるいはあなたがバージョンを書いたのです
http://www.springframework.org/schema/beans/spring-beans-3.1.0.xsd
このエラーの原因はspringmvc.xmlの構成でバージョン番号を書き間違えたためです(インポートしたjarパッケージのバージョンと一致しません)

http://www.springframework.org/schema/beans/spring-beans-4.1.xsd
あるいはあなたがバージョンを書いたのです
http://www.springframework.org/schema/beans/spring-beans-3.1.0.xsd