- Code is correct and you can’t figure out why dependency injection isn’t working. You also checked beans.xml for directive bean-discovery-mode=”all”. Make sure you also check the import path. For example the TextUtil class below are from 2 different packages, make sure you are importing the correct one:
- More to be added later.