Ошибка создания бина с именем в Spinrg Boot - PullRequest
0 голосов
/ 06 января 2019

Я использую Jhipster. Я построил объект "abi_Separate". При запуске возникает ошибка

85747 [ERROR] SpringApplication: Application run failed
org.springframework.beans.factory.UnsatisfiedDependencyException: 
    Error creating bean with name 'abi_SeparateServiceImpl' defined in file [E:\vaqtinchalik\study\target\classes\com\mycompany\myapp\service\impl\Abi_SeparateServiceImpl.class]: 
    Unsatisfied dependency expressed through constructor parameter 2; nested exception is org.springframework.beans.factory.BeanCreationException:
    Error creating bean with name 'abi_SeparateSearchRepository': Invocation of init method failed; nested exception is org.springframework.beans.BeanInstantiationException: 
    Failed to instantiate [org.springframework.data.elasticsearch.repository.support.NumberKeyedRepository]: Constructor threw exception; 
    nested exception is org.springframework.data.elasticsearch.ElasticsearchException: 
    Failed to build mapping for abi_separate:abi_separate


Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'abi_SeparateSearchRepository': 
    Invocation of init method failed; nested exception is org.springframework.beans.BeanInstantiationException: 
    Failed to instantiate [org.springframework.data.elasticsearch.repository.support.NumberKeyedRepository]: Constructor threw exception; 
    nested exception is org.springframework.data.elasticsearch.ElasticsearchException: Failed to build mapping for abi_separate:abi_separate
Добро пожаловать на сайт PullRequest, где вы можете задавать вопросы и получать ответы от других членов сообщества.
...