I have a project jar file (lets say A) which is built using orika 1.5.2.
I am now working on a project (lets say B) which requires me to work on orika 1.4.5.
Project B is dependent on Project A too. When some code in Project B calls some classes in Project A and Project A tries to do mapping using MapperFacade , I get the following exception.
java.lang.AbstractMethodError: null
at ma.glasnost.orika.generated.Orika_RequestMessage_CybersourceRequest_Mapper200395491762329$194.mapAtoB(Orika_RequestMessage_CybersourceRequest_Mapper200395491762329$194.java) ~[?:?]
at ma.glasnost.orika.impl.mapping.strategy.UseCustomMapperStrategy.map(UseCustomMapperStrategy.java:67) ~[orika-core-1.4.5.jar:?]
at ma.glasnost.orika.impl.MapperFacadeImpl.map(MapperFacadeImpl.java:735) ~[orika-core-1.4.5.jar:?]
at ma.glasnost.orika.impl.MapperFacadeImpl.map(MapperFacadeImpl.java:714) ~[orika-core-1.4.5.jar:?]
at ma.glasnost.orika.impl.ConfigurableMapper.map(ConfigurableMapper.java:150) ~[orika-core-1.4.5.jar:?]
at com.cybersource.payment.service.command.DefaultPaymentCommand.perform(DefaultPaymentCommand.java:50) ~[cybs-api-2.0.0-SNAPSHOT.jar:?]
at com.cybersource.payment.service.provider.DefaultPaymentServiceProvider.invoke(DefaultPaymentServiceProvider.java:44) ~[cybs-api-2.0.0-SNAPSHOT.jar:?]
at com.cybersource.payment.service.executor.DefaultPaymentServiceExecutor.execute(DefaultPaymentServiceExecutor.java:42) ~[cybs-api-2.0.0-SNAPSHOT.jar:?]
at com.cybersource.hybris.payment.service.executor.CorePaymentServiceExecutor.executeSuper(CorePaymentServiceExecutor.java:38) ~[classes/:?]
If I upgrade the orika version in Project B to 1.5.2 , things work fine but some other code in Project B restricts me to use 1.4.5
I have a project jar file (lets say A) which is built using orika 1.5.2. I am now working on a project (lets say B) which requires me to work on orika 1.4.5. Project B is dependent on Project A too. When some code in Project B calls some classes in Project A and Project A tries to do mapping using MapperFacade , I get the following exception. java.lang.AbstractMethodError: null at ma.glasnost.orika.generated.Orika_RequestMessage_CybersourceRequest_Mapper200395491762329$194.mapAtoB(Orika_RequestMessage_CybersourceRequest_Mapper200395491762329$194.java) ~[?:?] at ma.glasnost.orika.impl.mapping.strategy.UseCustomMapperStrategy.map(UseCustomMapperStrategy.java:67) ~[orika-core-1.4.5.jar:?] at ma.glasnost.orika.impl.MapperFacadeImpl.map(MapperFacadeImpl.java:735) ~[orika-core-1.4.5.jar:?] at ma.glasnost.orika.impl.MapperFacadeImpl.map(MapperFacadeImpl.java:714) ~[orika-core-1.4.5.jar:?] at ma.glasnost.orika.impl.ConfigurableMapper.map(ConfigurableMapper.java:150) ~[orika-core-1.4.5.jar:?] at com.cybersource.payment.service.command.DefaultPaymentCommand.perform(DefaultPaymentCommand.java:50) ~[cybs-api-2.0.0-SNAPSHOT.jar:?] at com.cybersource.payment.service.provider.DefaultPaymentServiceProvider.invoke(DefaultPaymentServiceProvider.java:44) ~[cybs-api-2.0.0-SNAPSHOT.jar:?] at com.cybersource.payment.service.executor.DefaultPaymentServiceExecutor.execute(DefaultPaymentServiceExecutor.java:42) ~[cybs-api-2.0.0-SNAPSHOT.jar:?] at com.cybersource.hybris.payment.service.executor.CorePaymentServiceExecutor.executeSuper(CorePaymentServiceExecutor.java:38) ~[classes/:?]
If I upgrade the orika version in Project B to 1.5.2 , things work fine but some other code in Project B restricts me to use 1.4.5