Код: Выделить всё
***************************
APPLICATION FAILED TO START
***************************
Description:
Field tutorialRepository in com.utility.tool.ToolApplication required a bean of type 'com.utility.tool.repository.TutorialRepository' that could not be found.
The injection point has the following annotations:
- @org.springframework.beans.factory.annotation.Autowired(required=true)
Action:
Consider defining a bean of type 'com.utility.tool.repository.TutorialRepository' in your configuration.
< /code>
Тогда я обнаружил, что забыл включить банку данных Spring Boot Starter Data. Следовательно, я добавляю следующий код в свой сборка.implementation 'org.springframework.boot:spring-boot-starter-data-jpa:2.7.5'
>
Подробнее здесь: https://stackoverflow.com/questions/744 ... when-using