본문 바로가기

카테고리 없음

OAuth 코드 입력후에 실행하니 에러가 남.- 해결

반응형

Caused by: org.springframework.beans.factory.UnsatisfiedDependencyException

Caused by: org.springframework.beans.factory.NoSuchBeanDefinitionException

Caused by: org.springframework.beans.factory.UnsatisfiedDependencyException

Caused by: org.springframework.beans.factory.NoSuchBeanDefinitionException

Execution failed for task ':test'.

There were failing tests. See the report at

 


1차시도 : 실패

[File] > [Settings] > [Build, Execution, Deployment] > [Build Tools] > [Gradle] > [Build and run using]옵션과 [Run tests using]옵션 모두  "IntelliJ IDEA" 를 선택하여 적용.


상단의 프로젝트 전체 버튼을 실행을 해서 난 에러였다. 왜냐면 나는 단위Test에 아무 코드를 작성하지 않았기 때문에 빌드를 하였기 때문이다.

Main 에서 실행을 해주니 잘 실행이 되었다. 

결국에 잘 못 알아서 생긴문제임.

반응형