`

Error starting static Resources java.lang.IllegalArgumentException: Document

    博客分类:
  • ssh
阅读更多

问题:

严重: Error starting static Resources
java.lang.IllegalArgumentException: Document base E:\myworkspace\evecomoa\WebRoot does not exist or is not a readable directory
	at org.apache.naming.resources.FileDirContext.setDocBase(FileDirContext.java:141)
	at org.apache.catalina.core.StandardContext.resourcesStart(StandardContext.java:3957)
	at org.apache.catalina.core.StandardContext.start(StandardContext.java:4126)
	at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045)
	at org.apache.catalina.core.StandardHost.start(StandardHost.java:719)
	at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045)
	at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443)
	at org.apache.catalina.core.StandardService.start(StandardService.java:516)
	at org.apache.catalina.core.StandardServer.start(StandardServer.java:710)
	at org.apache.catalina.startup.Catalina.start(Catalina.java:578)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
	at java.lang.reflect.Method.invoke(Unknown Source)
	at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:288)
	at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)
解决方案
百度了几次,发现问题是这样的,之前在eclipse里面建立了几个同名的工程,当然是建了又删,删了有建什么的。导致了这个问题
删除workspace下面的配置文件.metadata。然后重新导入工程即可。
分享到:
评论

相关推荐

Global site tag (gtag.js) - Google Analytics