작콩큰콩
오류 : o.m.s.mapper.ClassPathMapperScanner 본문
2021. 2. 23. 19:12
스프링 부트 오류
* 오류 : 스트링 부트 mapper 읽어오는 부분
- 오류는 위에서부터 천천히 제발!!
why it' take's t.m.s.mapper.ClassPathMapperScanner and o.m.s.mapper.ClassPathMapperScanner
@SpringBootApplication public class Application { public static void main(String[] args) { SpringApplication.run(Application.class,args); } } 59:37.637 [main] WARN t.m.s.mapper.
stackoverflow.com
- 이 것을 추가해 주니 해결되었다.
@MapperScan(basePackages = {"edu.bit.ex.mapper"})

* 혹시 이 부분 추가하면 되는 건가 싶어서 추가해주었지만 안되었다.
- application.properties
spring.autoconfigure.exclude=org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfig

'작은 콩 개발자 > 오류' 카테고리의 다른 글
Comments