當我嘗試我本地的Tomcat服務器上運行我的項目,我得到的錯誤:拋出:IllegalArgumentException:文檔庫 .metadata位於 .plugins org.eclipse.wst.server.core TMP0 wtpwebapps不存在或不是可讀目錄
Server Tomcat v7.0 Server at localhost failed to start.
我跟着this Stackoverflow answer的建議,並刪除了文件夾tmp0
。但我仍然得到相同的錯誤。
我已經複製下面的堆棧跟蹤。
SEVERE: Error starting static Resources
java.lang.IllegalArgumentException: Document base C:\Users\Imray\Projects\InstrurentalApp\.metadata\.plugins\org.eclipse.wst.server.core\tmp0\wtpwebapps\instrurentalapp does not exist or is not a readable directory
at org.apache.naming.resources.FileDirContext.setDocBase(FileDirContext.java:136)
at org.apache.catalina.core.StandardContext.resourcesStart(StandardContext.java:5089)
at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5269)
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)
非常感謝...如果我再次遇到問題,我會嘗試 – CodyBugstein 2015-01-22 16:24:15