You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have the following (and only) schema in a folder `schemas/cloudfoundry/:
{
"$schema": "http://json-schema.org/draft-07/schema#",
"javaType": "types.cloudfoundry.SecurityLane",
"description": "The security lane of the space.",
"enum": [
"public",
"medium",
"secure",
"intra"
]
}
When running mvn clean compile test the old output is removed accordingly. But enum will not be generated again whilst still throwing a ClassAlreadyExistsException. This makes the Project uncompilable.
Removing the javaType fixes this issue.
The text was updated successfully, but these errors were encountered:
LitschiW
changed the title
Adding javaType to an enum causes ClassAlreadyExistsException
Adding javaType to an enum causes ClassAlreadyExistsException on repeated generation
Sep 5, 2024
I have the following (and only) schema in a folder `schemas/cloudfoundry/:
with the following maven plugin setup:
When running
mvn clean compile test
the old output is removed accordingly. But enum will not be generated again whilst still throwing aClassAlreadyExistsException
. This makes the Project uncompilable.Removing the
javaType
fixes this issue.The text was updated successfully, but these errors were encountered: