The package kong.unirest is used in the main Unirest as well as in the jackson and gson mapper.
Using this as automated modules in java 11 causes an error. It is not allowed to expose the same package from multiple modules.
A solution would be to move both mappers to subpackages according to their purpose, hence kong.unirest.mapper.gson and kong.unirest.mapper.jackson could suit well.
The package
kong.unirestis used in the main Unirest as well as in the jackson and gson mapper.Using this as automated modules in java 11 causes an error. It is not allowed to expose the same package from multiple modules.
A solution would be to move both mappers to subpackages according to their purpose, hence
kong.unirest.mapper.gsonandkong.unirest.mapper.jacksoncould suit well.