-
Notifications
You must be signed in to change notification settings - Fork 46
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
Generate failed: Cannot invoke "java.util.Map.size()" because "map" is null #109
Comments
Hi, have the same problem after updating to Jakarta EE 10.
I´m using the Wildfly BOM
with JAX-RS
|
Is there any update on this issue? |
Got the same error with the plugin when using Jakarta. It seems the plugin is built or linked against Java EE as I ran the specific plugin goal as following mvn io.openapitools.swagger:swagger-maven-plugin:generate got this exception
Updated: I looked into the POM, it seems to use Java EE JAX-RS instead of Jakarta EE JAX-RS. |
Any update on this? |
I'm getting the same error |
I have resolved this issue by replacing the true and the by the path to your rest class |
Describe the bug
After configured the plugin in my pom.xml, by invoking "mvn clean install" the build is falling with the following error:
To Reproduce
I am using java 17 and the following plugin configuration:
swagger.maven.plugin has value 2.1.5, the same is happening for version 2.1.6.
Expected behavior
I expected to have 2 generated files.
Additional context
The text was updated successfully, but these errors were encountered: