Service类报错that could not be found.
Service类报错that could not be found.Description:Field administrativeTableService in com.example.demo.controller.AdministrativeTableController required a bean of type ‘com.example.demo.service.Administra
Service类报错that could not be found.
Description:
Field administrativeTableService in com.example.demo.controller.AdministrativeTableController required a bean of type ‘com.example.demo.service.AdministrativeTableService’ 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.example.demo.service.AdministrativeTableService’ in your configuration.
Process finished with exit code 1
报错笔记: lmpl类里面缺少@Service注解
更多推荐
所有评论(0)