0

I am using JHipster 7.9.3 in my current project using Java 11, Spring Boot 2.7. We are now in the process of upgrading to Java 17, Spring Boot 3 and Spring Framework 6 and I see the following error.

org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'openAPIDefaultGroupedOpenAPI' defined in class path resource [tech/jhipster/config/apidoc/JHipsterSpringDocGroupsConfiguration.class]: Unsatisfied dependency expressed through method 'openAPIDefaultGroupedOpenAPI' parameter 3: No qualifying bean of type 'org.springdoc.core.SpringDocConfigProperties' available: expected at least 1 bean which qualifies as autowire candidate. Dependency annotations: {}

Am I missing anything?. Any help is appreciated.

4
  • No. Spring Boot 3 is only supported by JHipster 8. You can install the v8 RC1 version using npm i -g generator-jhipster. You can try jhipster upgrade and see if it works. If it doesn't please enter an issue in the JHipster GitHub project. Oct 24 at 19:27
  • It does work with Java 17
    – jelharou
    Oct 24 at 20:13
  • @MattRaible - I am able to install 8.0.0-rc.1 on my local machine. But I would like to add it in pom.xml. I tried this <jhipster-dependencies.version>8.0.0-rc.1</jhipster-dependencies.version> but unable to get it to work. Is this version right?
    – ppoornima
    Oct 24 at 20:28
  • You can see the jhipster-bom versions at github.com/jhipster/jhipster-bom/releases. Oct 25 at 5:54

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Browse other questions tagged or ask your own question.