java.lang.IllegalArgumentException: Document base C:\Users\likang\workspace\.metadata\.plugins\org.eclipse.wst.server.core\tmp1\wtpwebapps\sypro does not exist or is not a readable directory
at org.apache.naming.resources.FileDirContext.setDocBase(FileDirContext.java:138)
at org.apache.catalina.core.StandardContext.resourcesStart(StandardContext.java:5002)
at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5182)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1559)
at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1549)
at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source)
at java.util.concurrent.FutureTask.run(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
eclipse 发布项目时找不到目录,
在tomcat 的发布位置 web.xml里找到
<Context docBase="sypro" path="/sypro" reloadable="true" source="org.eclipse.jst.jee.server:sypro"/>
把这段话去掉就ok了