运行用JHipster生成的webapp:找不到映射器

时间:2018-08-14 14:06:10

标签: eclipse maven spring-boot jhipster mapstruct

当我使用Eclipse IDE运行Web应用程序时(右键单击+以Java应用程序运行)

我遇到以下错误:

2018-08-14 15:58:17.381  WARN 7324 --- [  restartedMain] ConfigServletWebServerApplicationContext : Exception encountered during context initialization - cancelling refresh attempt: org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'actionServiceImpl' defined in file [D:\dfsdfdsfdsfsfsfsf\target\classes\com\showyou\service\impl\ActionServiceImpl.class]: Unsatisfied dependency expressed through constructor parameter 1; nested exception is org.springframework.beans.factory.NoSuchBeanDefinitionException: No qualifying bean of type 'com.showyou.service.mapper.ActionMapper' available: expected at least 1 bean which qualifies as autowire candidate. Dependency annotations: {}

有人有想法吗?我遵循了所有必需的步骤:https://www.jhipster.tech/configuring-ide-eclipse/

0 个答案:

没有答案