mail放在webapps中能正常打开,但是用server.xml配置或者在locathost文件夹中配置都失败,报错404.
server.xml
prefix="localhost_access_log" suffix=".txt"
pattern="%h %l %u %t "%r" %s %b" />
<Context path="/cc" docBase="E:\bb\mail"/>
</Host>
bb.xml
<Context docBase="E:\bb\mail"/>
14-Jun-2015 21:42:53.883 SEVERE [ContainerBackgroundProcessor[StandardEngine[Cat
alina]]] org.apache.tomcat.util.descriptor.web.WebXmlParser.parseWebXml Occurred
at line 4610 column 29
14-Jun-2015 21:42:53.885 SEVERE [ContainerBackgroundProcessor[StandardEngine[Cat
alina]]] org.apache.catalina.startup.ContextConfig.configureStart Marking this a
pplication unavailable due to previous error(s)
14-Jun-2015 21:42:53.886 SEVERE [ContainerBackgroundProcessor[StandardEngine[Cat
alina]]] org.apache.catalina.core.StandardContext.startInternal Error getConfigu
red
14-Jun-2015 21:42:53.886 SEVERE [ContainerBackgroundProcessor[StandardEngine[Cat
alina]]] org.apache.catalina.core.StandardContext.startInternal Context [/bb] st
artup failed due to previous errors