eclipse中tomcat操作报错:不允许有匹配 "[xX][mM][lL]" 的处理指令目标

An error occurred while cleaning Tomcat v7.0 Server at localhost work directory.
Could not load the Tomcat server configuration at \Servers\Tomcat v7.0 Server at localhost-config. The configuration may be corrupt or incomplete.

不允许有匹配 "[xX][mM][lL]" 的处理指令目标。

解决方法:

打开tomca配置文件下的server.xml文件,检查头部:,这里是否多出一个空格,去掉空格即可。

你可能感兴趣的:(myeclipse,eclipse,tomcat,Java开发)