Ошибка создания боба с именем 'Mongotemplate' ⇐ JAVA
Ошибка создания боба с именем 'Mongotemplate'
org.springframework.beans.factory.beancreationException: Ошибка создания боба с именем 'mongotemplate'
, определенная в классе com.socketCruiter.config.springmongoConfig: инстанция Bean Fail;
nested exception is org.springframework.beans.factory.BeanDefinitionStoreException:
Factory method [public org.springframework.data.mongodb.core.MongoTemplate org.springframework.data.mongodb.config.AbstractMongoConfiguration.mongoTemplate()
throws java.lang.exception] бросил исключение; Вложенное исключение - org.springframework.beans.factory.beancreationexception:
ошибка создание боба с именем 'MappingMongoConverter', определенное в классе com.socketCruiter.config.springmongoconfig:
instantiage of Bean Fail; nested exception is org.springframework.beans.factory.BeanDefinitionStoreException:
Factory method [public org.springframework.data.mongodb.core.convert.MappingMongoConverter org.springframework.data.mongodb.config.AbstractMongoConfiguration.mappingMongoConverter()
бросает java.lang.exception] бросал исключение; nested exception is java.lang.NoSuchMethodError:
org.springframework.data.util.ClassTypeInformation.from(Ljava/lang/Class;)Lorg/springframework/data/util/ClassTypeInformation;
i have the following config
< /code>
и im с использованием
org.springframework.data
Spring-data-mongodb
1.7.1.release
< /p>
Подробнее здесь: https://stackoverflow.com/questions/311 ... gotemplate
org.springframework.beans.factory.beancreationException: Ошибка создания боба с именем 'mongotemplate'
, определенная в классе com.socketCruiter.config.springmongoConfig: инстанция Bean Fail;
nested exception is org.springframework.beans.factory.BeanDefinitionStoreException:
Factory method [public org.springframework.data.mongodb.core.MongoTemplate org.springframework.data.mongodb.config.AbstractMongoConfiguration.mongoTemplate()
throws java.lang.exception] бросил исключение; Вложенное исключение - org.springframework.beans.factory.beancreationexception:
ошибка создание боба с именем 'MappingMongoConverter', определенное в классе com.socketCruiter.config.springmongoconfig:
instantiage of Bean Fail; nested exception is org.springframework.beans.factory.BeanDefinitionStoreException:
Factory method [public org.springframework.data.mongodb.core.convert.MappingMongoConverter org.springframework.data.mongodb.config.AbstractMongoConfiguration.mappingMongoConverter()
бросает java.lang.exception] бросал исключение; nested exception is java.lang.NoSuchMethodError:
org.springframework.data.util.ClassTypeInformation.from(Ljava/lang/Class;)Lorg/springframework/data/util/ClassTypeInformation;
i have the following config
< /code>
и im с использованием
org.springframework.data
Spring-data-mongodb
1.7.1.release
< /p>
Подробнее здесь: https://stackoverflow.com/questions/311 ... gotemplate
-
- Похожие темы
- Ответы
- Просмотры
- Последнее сообщение