What version of Orika are you using?
1.4.2
JDK 160_29
Please mind that it is required to provide a test of the issue with all
relevant comments. Thank you
Hello all,
We are working on the mapping between array of a class and the array of String.
The classMap registered as following:
this.mapperFactory.classMap(
PersonFrom.class,
PersonTo.class)
.field("names{first}", "firstnames{}")
.register();
When mapperFacade.map() was called we received following error:
Exception in thread "main" java.lang.NoClassDefFoundError: [Ljava/lang/String;
at javassist.runtime.DotClass.fail(DotClass.java:26)
at ma.glasnost.orika.generated.Orika_PersonTo_PersonFrom_Mapper1493521574698360$0.mapAtoB(Orika_PersonTo_PersonFrom_Mapper1493521574698360$0.java)
at ma.glasnost.orika.impl.mapping.strategy.UseCustomMapperStrategy.map(UseCustomMapperStrategy.java:67)
at ma.glasnost.orika.impl.MapperFacadeImpl.map(MapperFacadeImpl.java:735)
at ma.glasnost.orika.impl.MapperFacadeImpl.map(MapperFacadeImpl.java:714)
at com.comcast.fulfillment.saleschannelmanagement.service.orika.NameMapper.main(NameMapper.java:65)
Any suggestion how to map these two fields?
I have attached the code.
Thanks,
Steve
Original issue reported on code.google.com by steves...@gmail.com on 5 Mar 2015 at 10:02
Original issue reported on code.google.com by
steves...@gmail.com
on 5 Mar 2015 at 10:02Attachments: