tomcat启动报错

1.javax.naming.NameNotFoundException: Name UserDatabase is not bound in this Context

2.LifecycleException: No UserDatabase component found under key UserDatabase

3.Parse Fatal Error at line 1 column 7: The processing instruction target matching "[xX][mM][lL]" is not allowed.

 

以上错误,tomcat 目录下conf里面的xml类型的文件里面有注释错,乱码,或xml表头<?xml version='1.0' encoding='utf-8'?>前有空格,造成tomcat读取配置文件出错,启动失败!

如果还没有错,可以仔细查看这些启动的配置文件....

你可能感兴趣的:(tomcat)