Skip to content

Commit b1f0456

Browse files
author
dannong
committed
Improve <tomcat启动应用失败后报NoClassDefFoundError错误>
1 parent bc0c574 commit b1f0456

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

spring-boot/5.tomcat启动应用失败后报NoClassDefFoundError错误.md

+1
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@ java.lang.NoClassDefFoundError: org/apache/zookeeper/proto/SetWatches
2929
3030
**根本原因是tomcat启动这个应用时失败,将这个应用关闭(注意并不是tomcat关闭),
3131
但这个应用里已经启动的线程(非守护线程)未能正常终止,且去加载一些应用依赖的类,造成访问错误。**
32+
(应用优雅关闭问题)
3233

3334
**这类问题重点是先判断tomcat启动应用是否成功。(日志里有体现)**
3435

0 commit comments

Comments
 (0)