We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
对于boolean类型的值,每次都生成两个方法:isXXX() 和 getXXX(),这个object在使用jackthon的时候就会不work了。会报错。建议只生成一个方法,isXXX()。
例如:
"Could not write content: Conflicting getter definitions for property "forceWriteOnLogin": com.dianping.zebra.group.config.datasource.entity.GroupDataSourceConfig#isForceWriteOnLogin(0 params) vs com.dianping.zebra.group.config.datasource.entity.GroupDataSourceConfig#getForceWriteOnLogin(0 params) (through reference chain: com.dianping.zebra.admin.dto.ConnectStatusDto["groupDataSourceConfig"]); nested exception is com.fasterxml.jackson.databind.JsonMappingException: Conflicting getter definitions for property "forceWriteOnLogin": com.dianping.zebra.group.config.datasource.entity.GroupDataSourceConfig#isForceWriteOnLogin(0 params) vs com.dianping.zebra.group.config.datasource.entity.GroupDataSourceConfig#getForceWriteOnLogin(0 params) (through reference chain: com.dianping.zebra.admin.dto.ConnectStatusDto["groupDataSourceConfig"])"
The text was updated successfully, but these errors were encountered:
使用primitive="true"就可以了。
Sorry, something went wrong.
原来如此,嘿嘿。
No branches or pull requests
对于boolean类型的值,每次都生成两个方法:isXXX() 和 getXXX(),这个object在使用jackthon的时候就会不work了。会报错。建议只生成一个方法,isXXX()。
例如:
"Could not write content: Conflicting getter definitions for property "forceWriteOnLogin": com.dianping.zebra.group.config.datasource.entity.GroupDataSourceConfig#isForceWriteOnLogin(0 params) vs com.dianping.zebra.group.config.datasource.entity.GroupDataSourceConfig#getForceWriteOnLogin(0 params) (through reference chain: com.dianping.zebra.admin.dto.ConnectStatusDto["groupDataSourceConfig"]); nested exception is com.fasterxml.jackson.databind.JsonMappingException: Conflicting getter definitions for property "forceWriteOnLogin": com.dianping.zebra.group.config.datasource.entity.GroupDataSourceConfig#isForceWriteOnLogin(0 params) vs com.dianping.zebra.group.config.datasource.entity.GroupDataSourceConfig#getForceWriteOnLogin(0 params) (through reference chain: com.dianping.zebra.admin.dto.ConnectStatusDto["groupDataSourceConfig"])"
The text was updated successfully, but these errors were encountered: