자바(Java)/자바 셀레니움
Exception in thread "main" java.lang.NoClassDefFoundError: org/apache/commons/compress/archivers/zip/ZipFile
xemaker
2021. 12. 21. 14:33
자바 엑셀 poi를 사용하려고 했는데
Exception in thread "main" java.lang.NoClassDefFoundError: org/apache/commons/compress/archivers/zip/ZipFile
이런에러가 발생했다.
poi 라이브러리 최신거를 받았고 poi-bin-5.1.0 루트에 있는 jar과 lib에 있는 jar 만 이클립스에서 Build Path 에 추가했다.
poi-bin-5.1.0 디렉토리에 있는 ooxml-lib 디렉토리에 있는 jar 도 Build Path에 추가했더니 실행은 되었다.
ERROR StatusLogger Log4j2 could not find a logging implementation. Please add log4j-core to the classpath. Using SimpleLogger to log to the console...
그러나 위와 같은 에러가 발생했는데 그냥 실행이 되서 그냥 넘어갔다.