在Spinrg引导中使用名称创建bean时出错

时间:2019-01-06 07:11:35

标签: java spring-boot 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

0 个答案:

没有答案