Open quote is expected for attribute "{1}" associated with an element type "

这个错误在启动tomcat产生的严重错误,我的配置文件缺少一个引号;

经过仔细检查,发现是我把我项目直接部署到tomcat的配置文件(server。xml)中时,发生的错误

错误代码为:

<Context path="" docBase=C:\Users\Administrator\Workspaces\MyEclipse 10\SLSaleSystem\WebRoot"
    reloadable="true"/>

正确代码为:

<Context path="" docBase="C:\Users\Administrator\Workspaces\MyEclipse 10\SLSaleSystem\WebRoot"
    reloadable="true"/>

posted @ 2017-11-14 09:31  向上的栗子  阅读(921)  评论(0编辑  收藏  举报