Dozer 6.0.0 :Class Not found exception for datatypes in set method

60 views
Skip to first unread message

Sandeep Ambule

unread,
May 5, 2021, 11:13:15 PM5/5/21
to Dozer Mapper
upgrading dozer from 5.5.1 to 6.0.0 :
Working mapping in 5.5.1
<field type="bi-directional" custom-converter-param="batchType" custom-converter="com.test.BatchCustomConverter">
<a is-accessible="true" get-method="getBatchTypeValue" set-method="setBatchType(int)">batchType</a>
<b is-accessible="true">batchType</b>
</field>

above working field mapping giving error in dozer 6.0.0

Dest field type: int

org.dozer.MappingException: java.lang.ClassNotFoundException: int not found by com.github.dozermapper.dozer-core 

can someone explain what is the change in 6.0.0 causing this exception?

Thanks & Regards,
Sandeep Ambule
Reply all
Reply to author
Forward
0 new messages