Open corentin-pasquier opened 1 month ago
Welcome to AsyncAPI. Thanks a lot for reporting your first issue. Please check out our contributors guide and the instructions about a basic recommended setup useful for opening a pull request.
Keep in mind there are also other channels you can use to interact with AsyncAPI community. For more details check out this issue.
Describe the bug.
We were trying to use the library to generate code; this code deployed as as jar to our repository and imported in a Spring Boot 3 project. We have an error when starting our Spring Boot 3 project and we find out that this dependency is causing problem:
This dependency is using old javax, this dependency should be replaced (when using springBoot3 and not springBoot2) by:
Expected behavior
Use Jakarta compliant dependency for a Spring Boot 3 generated code.
Screenshots
How to Reproduce
Generate a Spring Boot 3 project Follow the link with every needed dependencies to reproduce Spring Initializr
Generate code with spring template
Install package to your device maven repository Before I had to change StreetLightId equals function so it returns true (there is a compilation error).
Then add the dependency to your Spring Boot 3 project:
Start your application
Change the dependency to the jakarta one, it works
🥦 Browser
Google Chrome
👀 Have you checked for similar open issues?
🏢 Have you read the Contributing Guidelines?
Are you willing to work on this issue ?
Yes I am willing to submit a PR!