간단한 테스트코드를 수행하다가 오류가 났다
Could not autowire. No beans of 'MockMvc' type found.
여러가지 방법들이 있었지만 @Autowired 위에 @SuppressWarnings("SpringJavaInjectionPointsAutowiringInspection")를 사용하여 해결했다. 이유는.... 찾아봐야한다
잘돌아간다
++ IntelliJ 자체를 업데이트하는 방법도 있다... 위의 버전은 2021.1.1... 그냥 최신버전 깔자
'공부 > 설치&오류' 카테고리의 다른 글
[git] git pull 했는데 갑자기 cannot resolve symbol ... (0) | 2023.03.02 |
---|---|
MariaDB & DBeaver 설치 (0) | 2022.06.04 |
java) IntelliJ 한글 -> 영어로 (0) | 2022.06.01 |