Welcome to CodeRanch shelendra.
In the future please use the code tags feature as explained here
https://coderanch.com/wiki/659781/Code-Tags.
This makes the code easier to read and follow for everyone.
I think that you may be using the tutorial found here
https://www.javatpoint.com/spring-tutorial-constructor-injection-with-dependent-object, if not which tutorial are you using?
Looking at your code, you don't seem to have any xml elements with an id value of "d". This is the most likely reason for the error that you are experiencing.