에러 2

세무민의 코딩일기 : Eclipse에서 System.out.println가 콘솔에서 출력되지 않을 때 해결하는 방법(부제 : logger란 무엇인지)

오늘 재택근무를 하면서 동료 직원이 했던 질문이 있었다. "System.out.print가 콘솔에서 출력이 안되요... Logger라는게 있다던데 그걸 사용해볼까요?" 이 질문에 대한 내 답변은 무엇이었을까? 나는 우선 2가지의 경우의 수를 말했다. Window -> Preferences -> Run/Debug -> Console -> limit console output 변경 위의 경우는 콘솔창에 출력이 제한되었을 경우를 생각하여 답변을 한 내용이다. Limit console output을 체크하지 않는 경우일 때 제한없이 출력되고 만약에 제한을 한다면 체크를 하고 버퍼의 크기를 변경해주면 된다. 기본값으로는 8만 size인데 여기서 자유롭게 추가해주면된다. 해당 콘솔에서 버퍼 크기의 최대 값은 2,1..

개발 일기 : available: expected at least 1 bean which qualifies as autowire candidate. Dependency annotations 오류 해결해보기

최근들어 시간이 너무 없어서... 포스팅을 잘 못하고 있었는데 최근에 틈틈히 spring 관련 코딩을 하다가 available: expected at least 1 bean which qualifies as autowire candidate. Dependency annotations 라는 오류를 다시 만나게 됬다. 정확한 오류코드는 org.springframework.beans.factory.NoSuchBeanDefinitionException : No qualifying bean of type 'service.userService' available: expected at least 1 bean which qualifies as autowire candidate. Dependency annotation..