1. 문제상황
이클립스에서 tomcat 연동 시 콘솔창에 아래 사진과 같은 오류 발생
정보: The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: C:\Program Files\Java\jre1.8.0_91\bin;C:\Windows\Sun\Java\bin;C:\Windows\system32;C:\Windows;C:/Program Files/Java/jre1.8.0_91/bin/server;C:/Program Files/Java/jre1.8.0_91/bin;C:/Program Files/Java/jre1.8.0_91/lib/amd64;C:\oraclexe\app\oracle\product\11.2.0\server\bin;C:\ProgramData\Oracle\Java\javapath;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files (x86)\MySQL\MySQL Fabric 1.5 & MySQL Utilities 1.5\;C:\Program Files (x86)\MySQL\MySQL Fabric 1.5 & MySQL Utilities 1.5\Doctrine extensions for PHP\;C:\Program Files (x86)\NVIDIA Corporation\PhysX\Common;C:\Program Files\Java\jdk1.8.0_91\bin;C:\Users\DoubleS\AppData\Local\Microsoft\WindowsApps;C:\Program Files\Bandizip\7z;C:\Users\DoubleS\Desktop;;.
2. 원인
자바 경로에서 최적의 퍼포먼스를 위한 native library를 찾지 못했다는 메시지
3. 해결방법
tcnative-1.dll 파일을 jdk가 설치된 폴더의 bin폴더에 붙여넣고 tomcat을 재시작하면 오류 메시지가 사라지게된다.
http://archive.apache.org/dist/tomcat/tomcat-connectors/native/
정보: Loaded APR based Apache Tomcat Native library 1.2.8 using APR version 1.5.2.