- 에러
The server encountered an unexpected condition that prevented it from fulfilling the request.</p><p><b>Exception</b></p><pre>java.lang.SecurityException: org.xml.sax.SAXNotRecognizedException: Feature: http://apache.org/xml/features/allow-java-encodings
- 해결
catalina.properties 파일에 아래 내용 추가
javax.xml.parsers.DocumentBuilderFactory=com.sun.org.apache.xerces.internal.jaxp.DocumentBuilderFactoryImpl
javax.xml.transform.TransformerFactory=com.sun.org.apache.xalan.internal.xsltc.trax.TransformerFactoryImpl
javax.xml.parsers.SAXParserFactory=com.sun.org.apache.xerces.internal.jaxp.SAXParserFactoryImpl
javax.xml.datatype.DatatypeFactory=com.sun.org.apache.xerces.internal.jaxp.datatype.DatatypeFactoryImpl
https://hyunning.tistory.com/entry/orgxmlsaxSAXNotRecognizedException-%EC%97%90%EB%9F%AC
'web 일반' 카테고리의 다른 글
Server, Fail2ban으로 DDOS스러운 공격 막기 (0) | 2024.03.06 |
---|---|
메일서버가 스팸서버로 인식하는 경우 처리 (0) | 2023.09.07 |
알아둬야 할 HTTP 공통 & 요청 헤더 (0) | 2020.07.20 |
CORS 설명 (0) | 2020.05.29 |
https 인증서 확인 (0) | 2017.12.18 |