它显示了一些未映射的属性,但它在本地工作正常我也尝试使用[deployementiten]属性,但问题仍然存在。
请提出任何建议。谢谢。
答案 0 :(得分:0)
I got the solution for it .Use Mapper.Reset() before every mapper.createMap() because without of reset it's work locally if your mapping is correct but when tests run on build server that time one copy went to the server.and mapper class is static so its taking old reference or cache the classes that's why its shoing unmapped members were found. for remove that problem is better to use mapper.reset() before mapper.createmap() its always free the all reference from the mapper class