org.springframework.security.filterChains web.xml ->해당 오류는 필터가 등록이 된 후 bean을 등록하고 시큐리티 설정파일을 읽어야하는데 보동 저 xml 설정파일을 위에 같이 적는 경우가 많았다 밑으로 빼주니 해결. 빈등록 후 설정파일을 읽음. servlet-context.xml org.springframework.beans.factory.BeanCreationException -> context:component-scan과 dao에서 @Repository를 같이 혼용하여 사용하는 경우 빈이 2번 등록된다. 따라서 둘 중 하나만 사용하도록 하자... 나는 context-component를 주석처리 하였다 물려받은 프로젝트 모두 dao에 @Repository가 적혀..
window10 docker tool box를 사용하는데 다음과 같은 오류가 떴다 com.mysql.cj.jdbc.exceptions.CommunicationsException: Communications link failure The last packet sent successfully to the server was 0 milliseconds ago. The driver has not received any packets from the server. 원인은 docker machine의 ip가 localhost로 접속을 못하기 때문이다 ! 해결방법 1. docker 컨테이너를 로컬머신의 포트와 연결해주는 옵션이 -p 라는 옵션인데요. 그 옵셥으로 포트를 맵핑하면 localhost로 접근할 수 있습니다..
Windows 10 Home에서 Docker 설치 하기 Docker Community Edition for Windows는 Windows 10 home에서 사용할 수 없다.(Windows 10 pro 이상에서 가능) 이유는 Windows에서 Docker를 사용하려면 Hyper-V 가 필요한데 Windows 10 home에는 Hyper-V (ms에서 만든 가상화 SW이며 Docker를 Windows 환경에서 VirtualBox 없이 Native하게 돌아가도록 해준다) 를 지원하지 않기 때문이다. 도커는 리눅스에서만 사용 가능한 가상화 컨테이너이다. 따라서 윈도우나 맥 OS를 사용하는 경우에는 오라클 버추얼박스(VirtualBox) 등의 저수준 가상화 소프트웨어로 리눅스 운영체제를 가진 가상 컴퓨터를 만들어..
ApplicationContextException : ServletWebServerFactory 빈이 없어서 ServletWebServerApplicationContext를 시작할 수 없습니다. 스프링 부트를 사용하여 스프링 배치 애플리케이션을 작성했습니다. 로컬 시스템에서 명령 행과 클래스 경로를 사용하여 해당 애플리케이션을 실행하려고하면 정상적으로 실행됩니다. 그러나 리눅스 서버에서 실행하려고했을 때 예외적으로 다음과 같이 표시됩니다. Unable to start web server; nested exception is org.springframework.context.ApplicationContextException: Unable to start ServletWebServerApplicationCo..
아래의 오류의 경우 해결 방법은 1월 20, 2020 2:53:09 오전 org.apache.catalina.core.StandardService startInternal 정보: Starting service [Tomcat] 1월 20, 2020 2:53:09 오전 org.apache.catalina.core.StandardEngine startInternal 정보: Starting Servlet engine: [Apache Tomcat/9.0.30] 1월 20, 2020 2:53:09 오전 org.apache.catalina.core.ContainerBase startInternal 심각: A child container failed during start java.util.concurrent.Exec..