Myeclipse启动Tomcat报错:Could not load the Tomcat server configuration

时间:2024-03-24 12:20:09

Myeclipse启动Tomcat报错,Tomcat闪退,无法正常启动:
Could not load the Tomcat server configuration at E:\tomcat-7.0.56\conf.
The configuration may be
corrupt or incomplete. Invalid byte 2 of 2-byte UTF-8 sequence.
主要是由于配置文件的编码不一致引起的.

Myeclipse启动Tomcat报错:Could not load the Tomcat server configuration
根据报错信息得知,是/conf下的配置文件编码问题。
接着再看Tomcat 运行日志:

Myeclipse启动Tomcat报错:Could not load the Tomcat server configuration
查看配置文件:
Myeclipse启动Tomcat报错:Could not load the Tomcat server configuration
用Notepad++改成UTF-8就好了。
最后正常启动Tomcat
Myeclipse启动Tomcat报错:Could not load the Tomcat server configuration