Suggestion to update handlebars to 4.3.x to be compatible with java 17.
https://github.com/swagger-api/swagger-codegen/issues/10966
According to this thread, this version should solve the java.lang.reflect.InaccessibleObjectException: Unable to make public boolean java.util.Collections$EmptyMap.isEmpty() accessible exception
Suggestion to update handlebars to 4.3.x to be compatible with java 17.
https://github.com/swagger-api/swagger-codegen/issues/10966 According to this thread, this version should solve the java.lang.reflect.InaccessibleObjectException: Unable to make public boolean java.util.Collections$EmptyMap.isEmpty() accessible exception