0

大家好,

我正在研究 jhipster。我在 dev 配置文件上创建了一个数据库,并且创建得很好。但是当我尝试使用 csv 文件将数据加载到表中时,出现异常。请帮助我。

Error creating bean with name 'org.springframework.scheduling.annotation.SchedulingConfiguration': Initialization of bean failed; nested exception is java.lang.NoSuchMethodError: org.springframework.scheduling.annotation.SchedulingConfiguration.setBeanFactory(Lorg/springframework/beans/factory/BeanFactory;)V

提前致谢。

        email;firstName;middleName;lastName;sex;aboutYou;dateOfBirth;password;picture;isActive;createdDate
        test@gmail.com;charn;jeet;singh;b;aboutme;NULL;b8f57d6d6ec0a60dfe2e20182d4615b12e321cad9e2979e0b9f81e0d6eda78ad9b6dcfe53e4e22d1;NULL;1;NULL
4

1 回答 1

1

问题是你在 Spring Boot 中遇到了一个特定的错误,它掩盖了你原来的异常:

https://github.com/spring-projects/spring-boot/issues/253

为了查看您的“真实”异常,请执行以下任一操作:

  • 迁移到 Spring Boot 的最新“SNAPSHOT”版本,现在看来可以解决了
  • 从导致此错误的 AsyncConfiguration 类中删除配置
于 2014-02-04T09:54:28.013 回答