This problem appeared when I reinstalled tomcat and myeclipse once. To be honest, this problem was a big problem, but fortunately it was solved. At first, I looked for various solutions. Finally, I commented a line in server.xml directly to solve this error. Perfect, but I still post it to analyze my results
Comment out this line and the problem will not occur <!-- <Listener className="org.apache.catalina.core.AprLifecycleListener" SSLEngine="on" />-->
<Server port="8005" shutdown="SHUTDOWN"> <!--APR library loader. Documentation at /docs/apr.html --> <!-- <Listener className="org.apache.catalina.core.AprLifecycleListener" SSLEngine="on" /> --> This is the line, you can find this line in server.xml <!--Initialize Jasper prior to webapps are loaded. Documentation at /docs/jasper-howto.html --> <Listener className="org.apache.catalina.core.JasperListener" /> <!-- Prevent memory leaks due to use of particular java/javax APIs--> <Listener className="org.apache.catalina.core.JreMemoryLeakPreventionListener" /> <!-- JMX Support for the Tomcat server. Documentation at /docs/non-existent.html --> <Listener className="org.apache.catalina.mbeans.ServerLifecycleListener" /> <Listener className="org.apache.catalina.mbeans.GlobalResourcesLifecycleListener" /> <!-- Global JNDI resources Documentation at /docs/jndi-resources-howto.html -->
In the future, I will slowly think that I can't solve this problem now, but I don't report an error.