错误截图:
出现情况原因分析:
1.环境没有配置好,配置java环境变量:
检查是否正确,java javac,可以尝试重新
2.查看使用的jdk版本是否存在版本问题:
例如jdk1.7对中文的支持不是很好
3.将tomcat---bin目录下的tomcat-juli.jar包加载到tomcat的paths的第一栏中
Myeclipse->Servers->Tomcat->Paths
4.代码存在异常
也就是说在运行时抛出异常,查看控制台异常信息,再结合具体的方法解决,例如我的就是:
这个是由于我JdbcUntil类在使用犯了一个低级错误,没有加双引号,最尴尬
更多关于ExceptionInintalizerError信息查看这里:https://blog.csdn.net/ycy258325/article/details/53908031