본문 바로가기

Service

[JAVA] Spring 에러 Error creating bean with name : Unsatisfied dependency expressed through field ~ Error creating bean with name '...Service': Unsatisfied dependency expressed through field '...Service''; nested exception is org.springframework.beans.factory.NoSuchBeanDefinitionException: No qualifying bean of type '...Service'' available: expected at least 1 bean which qualifies as autowire candidate. Dependency annotations: {@org.springframework.beans.factory.annotation.Autowired(required=t.. 더보기
Linux _ 방화벽 포트 열기 특정 포트를 열어서 외부에서 접속할 수 있도록 하기위해 사용합니다 > vi /etc/sysconfig/iptables > -A INPUT -m state --state NEW -m tcp -p tcp --dport [열 포트넘버] -j ACCEPT 로 VI 편집을 하고, 저장합니다. > service iptabels restart iptables 서비스를 재실행시키면 포트를 열 수 있습니다. 더보기
Linux _ service 명령 DB ( redis , mysql 등 ) 의 서비스를 테스팅하기위해 사용했던 명령어. 이외, 부팅시 실행되는 네트워크 설정이나 방화벽 설정 , httpd 등의 서비스 프로그램등을 Control 할 수 있는 명령어라 볼 수 있다. service 명령어 /etc/init.d 에 있는 Sys V init script를 실행. 중지. 재실행하는 Utillity ( /etc/init.d 참조하는 심볼릭링크 ) 명령어 기능 service --statis all 모든 서비스 상태 출력 service (name) --status 해당 서비스 상태 출력 service (name) stop 해당 서비스 정지 service (name) start 해당 서비스 실행 service (name) restart 해당 서비스 재실행.. 더보기