0
org.springframework.beans.factory.parsing.BeanDefinitionParsingException: 設定問題: XMLスキーマの名前空間の春NamespaceHandlerを見つけることができません[http://www.springframework.org/schema/context]springMVCでこのエラーを解決するにはどうすればよいですか?
org.springframework.beans.factory.parsing.BeanDefinitionParsingException: 設定問題: XMLスキーマの名前空間の春NamespaceHandlerを見つけることができません[http://www.springframework.org/schema/context]springMVCでこのエラーを解決するにはどうすればよいですか?
短い答え:春のXML構成で正しい構文を使用しますファイル。
<beans xmlns="http://www.springframework.org/schema/beans"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:context="http://www.springframework.org/schema/context"
xmlns:mvc="http://www.springframework.org/schema/mvc"
xmlns:util="http://www.springframework.org/schema/util"
xsi:schemaLocation="
http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans.xsd
http://www.springframework.org/schema/context http://www.springframework.org/schema/context/spring-context.xsd
http://www.springframework.org/schema/mvc http://www.springframework.org/schema/mvc/spring-mvc.xsd
http://www.springframework.org/schema/util http://www.springframework.org/schema/util/spring-util.xsd">
... config stuff
</beans>
があなたのXML – xenoterracide
短い答えのヘッダ部分を貼り付けることができます::春のXML設定ファイルで正しい構文を使用します。ここ
は、コンテキストスキーマを含ん例です。 – DwB