Java catalina.out连续记录相同错误
我在部署到Tomcat时遇到以下错误Java catalina.out连续记录相同错误,java,tomcat,ssl,bouncycastle,Java,Tomcat,Ssl,Bouncycastle,我在部署到Tomcat时遇到以下错误 org.apache.tomcat.util.net.JIoEndpoint$Acceptor run INFO: Illegal access: this web application instance has been stopped already. Could not load org.bouncycastle.crypto.modes.CBCBlockCipher. The eventual following stack trace is
org.apache.tomcat.util.net.JIoEndpoint$Acceptor run
INFO: Illegal access: this web application instance has been stopped already.
Could not load org.bouncycastle.crypto.modes.CBCBlockCipher.
The eventual following stack trace is caused by an error thrown for debugging purposes
as well as to attempt to terminate the thread which caused the illegal access,
and has no functional impact.
java.lang.IllegalStateException
然后
SEVERE: Socket accept failed
java.lang.NoClassDefFoundError: org/bouncycastle/crypto/modes/CBCBlockCipher
at org.bouncycastle.jcajce.provider.symmetric.util.BaseBlockCipher.engineSetMode(Unknown Source)
at javax.crypto.Cipher$Transform.setModePadding(Cipher.java:357)
at javax.crypto.Cipher.chooseProvider(Cipher.java:847)
at javax.crypto.Cipher.init(Cipher.java:1348)
at sun.security.ssl.CipherBox.(CipherBox.java:175)
at sun.security.ssl.CipherBox.newCipherBox(CipherBox.java:208)
...
at org.apache.tomcat.util.net.JIoEndpoint$Acceptor.run(JIoEndpoint.java:352)
at java.lang.Thread.run(Thread.java:722)
NoClassDefFoundError异常正在连续循环登录到catalina.out,catalina.out在短时间内已满
Tomcat版本是6.0.24。您显然应该删除导致问题的类,因为如果频繁调用此线程,这是Tomcat的预期行为