본문 바로가기

Others

(103)
[스프링] bean 추가 후, Class '~' not found pom.xml에 dependency 추가해주었는지 확인.
네임서버 등록 확인 nslookup > (enter) > 네임서버 주소 > (enter)연결이 되면 주소가 나온다~~!!
[스프링] No qualifying bean of type '' available: expected at least 1 bean which qualifies as autowire candidate. Service 인터페이스를 Implements 하는 클래스에서 @Service 어노테이션이 빠지지 않았는지 체크해보자.
[스프링 서버 세팅] Cannot find ./catalina.sh 해결 : chmod +x catalina.sh
[스프링] Cannot resolve reference to bean 'sqlSessionFactory' while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCreationException: 출처: http://8boknote.tistory.com/12 [8BOKNOTE] 오류는 mybatis-config에서 경로를 잘못 지정했을 경우 발생. 해결 방법 1. root-content의 sqlSessionFactory에 configLocation의 mybatis-config.xml 파일 연결 2. mybatis-config에서 를 처리했을 경우 그 속의 패키지 명을 정확하게 입력하면 된다.
[스프링] org.springframework.beans.factory.BeanDefinitionStoreException: Failed to read candidate component class 해결방법 : pom.xml 스프링 버전 확인! 1.84.2.3.RELEASE1.6.101.6.6
[Postgresql] brew로 설치한 Postgresql 서버 시작하기 brew로 postgresql 설치하기 brew tap petere/postgresql# search로 원하는 postgresql 버전을 찾을 수 있음 brew search postgresql brew install petere/postgresql/postgresql@10 ( 이 글을 정리하기 전에 나는 brew update 이후, brew install postgresql 로 설치 ) 디비 서버 실행하기 pg_ctl -D /usr/local/var/postgres -l /usr/local/var/postgres/server.log start 그 다음부터는 : psql postgres ubuntu에서는 service 명령어로 postgres를 실행시키던걸 pg_ctl 명령어로 실행시켜주면 된다.
[스프링] The content of element type "mapper" must match "EMPTY". 쿼리를 작성하는 xml의 DTD 확인! 의 dtd 에서 mapper 에 대한 정보가 없어서 발생하는 문제 으로 맞게 들어가 있는지 확인해보자.