개요 Marshaller, Unmarshaller 바인딩 기능을 제공하는 오픈소스인 Xstream을 이용해 StaxEventItemReader 코드를 작성하는데 아래와 같은 에러가 발생했습니다. com.thoughtworks.xstream.security.ForbiddenClassException 원인 Xstream 1.4.18 버전은 역직렬화 진입 시점에 공격을 방지하기 위한 설정이 기본적으로 설정되어 있습니다. You need to configure the security framework in XStream. It is designed to prevent attacks to your deserialization entry point. 해결 방법 두 가지 해결 방법이 있습니다. 첫 번째는 아래와 같이..