It was so silly but the message of the error didn't help me. So the problem was with
<reversestrategy>/src/main/resources/reverse/engineering/MyReverseEngineeringStrategy.java</reversestrategy>
When I changed to the following,
<reversestrategy>reverse.engineering.MyReverseEngineeringStrategy</reversestrategy>
it worked perfectly.