stackoverflow 에러(annotations for web application [/api] due to a StackOverflowError)
2021. 7. 21. 10:18ㆍSpring
Tomcat run 시 발생하는 에러
Caused by: java.lang.IllegalStateException: Unable to complete the scan for
annotations for web application [/api] due to a StackOverflowError.
해결방법
톰캣 시작시 bcprov*.jar 파일들 스킵
1. tomcat catalina.properties 파일 열기
2.tomcat 폴더에 org.apache.catalina.startup.ContextConfig.jarsToSkip=bcprov*.jar 추가
tomcat.util.scan.StandardJarScanFilter.jarsToSkip=\
annotations-api.jar,\
-----------생략-----------
xmlParserAPIs.jar,\
xom-*.jar,\
-----------추가-----------
bcprov*.jar
'Spring' 카테고리의 다른 글
[Intellij] Import 시 cannot resolve symbol 에러 (0) | 2021.08.24 |
---|---|
SdkClientException: Unable to find a region via the region provider chain 에러 (0) | 2021.08.06 |
restTemplate을 이용한 API 호출 (0) | 2021.07.22 |
java.util.concurrent.completionexception: java.net.bindexception: address already in use: bind 에러 해결법 (0) | 2021.06.14 |
IntelliJ 개발 능력 향상 시킬 수 있는 단축키 (0) | 2021.05.04 |