The Autowiring is not working and I keep getting the error,
Cannot invoke "learn.PasswordGenerator.generatePassword(int)" because "this.passwordGenerator" is null
Can someone please help with this and clarify how it ought to work? Clumped all the classes in one file for the sake of posting.
I've added @Component and @Configuration to pretty much everything in order to get this to function.
Thanks a lot in advance!
