Today will be Windows7 on the Tomcat from 6 to 7, after the update is completed, the Eclipse configuration Tomcat6 changed to TOMCAT7, the results when the error was started, error content as follows:
June 22, 2016 2:51:12 pm Org.apache.catalina.core.AprLifecycleListener init
Critical: An incompatible version 1.1.29 of the AP R based Apache Tomcat Native Library is installed and while Tomcat requires version 1.1.32
The content is that Tomcat is not compatible with version 1.1.29 when installing the local APR library, at least 1.1. Version 32 of the APR library is installed.
There are many search results on the web, which is to put tcnative-1.dll this file in the Tomcat directory bin directory, in fact, does not necessarily solve the problem.
I was tested several times, found a pattern, summed up:
1. Go to http://archive.apache.org/dist/tomcat/tomcat-connectors/native/to download a hint of abnormal version, will generally be higher than the prompt version, For example, my eclipse hint 1.1.32 version, in fact I was to "1.1.34/binaries" directory Download "tomcat-native-1.1.34-win32-bin.zip" This file, my machine is 64-bit, without being confused by the name. Extract the "Tcnative-1.dll" file under "bin\x64" directory. For version, generally use higher, such as request 1.1.32, download the latest 1.1.34, if there is 1.1.43, it is better not to, generally recognized the same as the previous few. Don't think that 1.1.4 is higher than the 1.1.32 version, the point "." is the key to separating the version.
2. Copy the "Tcnative-1.dll" file to the JDK's installation directory bin. Of course, to see your eclipse configuration JRE when the specific directory, I configured the JDK directory, so put into the JDK bin, if the configuration is the JRE directory, should be placed in the JRE directory under the bin.