Unable to run springboot application due to the below error(it says, "Consider defining a bean of type 'com.example.demo.DAOinter' in your configuration". what is missing here) :-
Please find the details for the Service class and the DAOInter interface used for Repository annotation:-
- ServiceBusinessLayer class
- DAOinter class
When repository annotation is included in DAOinter interface, then why autowired isn't working in ServiceBusinessLayer class?
Sharing the package details and SpringBootApplication class