0

enter image description here please help me solving this problem

i want to resolve this bug, how can i place or check my file in root package

  • 1
    The problem is the same as within the duplicate, your main class (`SpringBootWebApplication`) is within the `com.spring.Controller` package. This means that only beans within the `com.spring.Controller.*` package are scanned and picked up. Your repository is within the `com.spring.Dao` package and is not scanned due to this. – g00glen00b Nov 22 '22 at 06:54

0 Answers0