Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Upgrade to 2.0.1 is breaking when com.fasterxml.jackson.module.kotlin.KotlinModule is not present in classpath #2008

Closed
rajadilipkolli opened this issue Dec 16, 2022 · 3 comments
Labels
bug Something isn't working

Comments

@rajadilipkolli
Copy link

rajadilipkolli commented Dec 16, 2022

Describe the bug

  • I have CI/CD enabled in github using github-actions. when it is trying to upgrade to 2.0.1 build is failing as jackson kotlin module is not present in the classpath

Below is the error.

java.lang.ClassNotFoundException: com.fasterxml.jackson.module.kotlin.KotlinModule

To Reproduce
Steps to reproduce the behavior:

  • What version of spring-boot you are using - 3.0.0
  • What modules and versions of springdoc-openapi are you using - 2.0.1 webmvc starter
  • Clone this project. start using normal spring run and it should be up and pipeline build should pass.

Expected behavior

  • Build to pass without breaking and autoconfiguration should backoff when kotlinModule is not present

Additional context
Github action pileline logs can be seen here

@rajadilipkolli rajadilipkolli changed the title Upgrade to 2.0.1 is breaking Upgrade to 2.0.1 is breaking when com.fasterxml.jackson.module.kotlin.KotlinModule is not present in classpath Dec 16, 2022
@programista-zacny
Copy link

The same problem for me... Using:

        <dependency>
            <groupId>org.springdoc</groupId>
            <artifactId>springdoc-openapi-starter-webflux-ui</artifactId>
            <version>2.0.1</version>
        </dependency>

bnasslahsen added a commit that referenced this issue Dec 16, 2022
….KotlinModule is not present in classpath. Fixes #2008
@bnasslahsen
Copy link
Collaborator

bnasslahsen commented Dec 16, 2022

@programista-zacny, @rajadilipkolli

Should be better with 2.0.2

@bnasslahsen bnasslahsen added the bug Something isn't working label Dec 16, 2022
@rajadilipkolli
Copy link
Author

Its working now, thank you @bnasslahsen for the quick fix and release. This quick release cycle makes springdoc-openapi more adaptable. kudos to the team for the amazing work

@springdoc springdoc locked as resolved and limited conversation to collaborators Dec 16, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants