Tags: chrylis/spring_autowired_npe_example
Tags
This version works because Spring is autowiring the MileageFeeCalculator into the controller and knows to configure it first.
works by using Spring @configurable and AspectJ
This version doesn't work because Spring can't autowire the "new MileageFeeCalculator".