khstar

Intellij - Can not Access 또는 Could not autowired 에러 발생시 본문

카테고리 없음

Intellij - Can not Access 또는 Could not autowired 에러 발생시

khstar 2023. 9. 19. 10:41
반응형

Intellij 를 잘 사용하던중 갑자기 Can not Access 가 발생했다. 

원인까지는 모르겠고 해결방법을 찾아보니 아래와 같이 수행하면 문제가 해결 되었다.

 

IDE 상단바 File -> Invalidate Cache and Restart

 

Could not autowired는 참조하는 곳에서 발생하는데 위의 메뉴를 실행하니 같이 해결 되었다.

 

참조 : 

https://nohbj.tistory.com/47

 

[스프링부트] 인텔리제이 메인함수 Cannot access org.springframework.context.ConfigurableApplicationContext 에러

Spring Boot 프로젝트 생성시 메인함수에 다음과 같은 에러가 발생 해결방법 방법 1. main.iml 파일 삭제 방법 2.IDE 상단바 File -> Invalidate Cache and Restart 참고 main.iml : 인텔리제이에서 pom.xml을 인식하지

nohbj.tistory.com

 

반응형
Comments