0
이 오류를 어떻게 수정합니까?MONGO + SPRING : 일치하는 와일드 카드가 엄격하지만 'mongo : db-factory'요소에 대한 선언을 찾을 수 없습니다.
상황에 맞는 내용 :
<?xml version="1.0" encoding="UTF-8"?>
<beans xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns="http://www.springframework.org/schema/beans"
xmlns:mongo="http://www.springframework.org/schema/data/mongo" xsi:schemaLocation=
"http://www.springframework.org/schema/beans
http://www.springframework.org/schema/beans/spring-beans-4.2.xsd">
<mongo:db-factory dbname="#{properties.getProperty('mongo.database')}"
password="#{properties.getProperty('mongo.password')}"
username="#{properties.getProperty('mongo.user')}"
port="#{properties.getProperty('mongo.port')}"
host="#{properties.getProperty('mongo.host')}"/>
봄과 몽고 버전 :
4.3.2.RELEASE
3.3.0