启动tomcat提示:Error starting static Resources

严重: Error starting static Resources
java.lang.IllegalArgumentException: Document base E:\apache-tomcat-5.5.26\webapps\test does not exist or is not a readable directory
----------------------------------------------
tomcat的server.xml中有
<Context path="" docBase="/test" reloadable="true"></Context>
------------------
删除此配置即可。

原链接:https://blog.csdn.net/qq_29497763/article/details/78872205

原文地址:https://www.cnblogs.com/liyunchuan/p/11756314.html

时间: 2024-08-25 21:16:37

启动tomcat提示:Error starting static Resources的相关文章

Tomcat:Error starting static Resources

近来主要从事JavaWeb的开发,用的是myEclipse+Tomcat,在一次启动Tomcat的过程中,出现这个问题: Error starting static Resources java.lang.IllegalArgumentException: Document base D:\apache-tomcat-7.0.42\webapps\onlinelearning does not exist or is not a readable directory    at org.apac

严重: Error starting static Resources java.lang.IllegalArgumentException:

严重: 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... 解决办法: E:\my

Error starting static Resources java.lang.IllegalArgumentException: Document base D:\Program Files\apache-tomcat-xxx\webapps\xxx does not exist or is not a readable directory

网上的答案大多数如下: 但并没有解决我的问题  经过我的观察: 在tomcat的server.xml有Lottery项目描述,但实际上,该项目已被我删除,不存在于webapps中了   该行Context是tomcat运行时动态生成的. 进行了多次尝试,得出如下结果: 当我删除该Context时,直接运行Tomcat,运行正常,且不生成该Context: 当我删除该Context时,未部署Lottery项目,通过Eclipse的Tomcat插件启动Tomcat时,动态生成该Context: 当我

Error starting static Resources ......

这个问题是我在部署一个项目时候出现的. 一般来说出现这种错误是由于你在MyEclipse或Eclipse中删除了某个项目后,没有将Tomcat-6.x\conf\server.xml相关修改完全,才影起了这个问题,那么要怎么解决了?     解决办法: 首先删除掉Tomcat-6.x目录下的work里的东西,这里不会影响其他项目的: 接着 再将conf目录下的Catalina目录下的localhost内的所有文件都删除. 然后再重新部署项目,就OK了.

Linux下启动tomcat报错RROR org.apache.catalina.core.StandardContext- Error starting static Resources java.lang.IllegalArgumentException: Document base /home/duiba/apache-tomcat/webapps/../webapps/manager do

部署项目的时候,重启tomcat,死活起不来,很郁闷,网上巴拉了半天,结合自己的情况,找到了原因: 错误日志信息: 2018-12-13 13:52:26,992 [main] INFO org.apache.catalina.core.AprLifecycleListener- The APR based Apache Tomcat Native library which allows optimal performance in production environments was no

windows下Eclipse启动tomcat提示端口已被占用 already in use

>netstat -ano | findstr 8009 TCP    127.0.0.1:8005         0.0.0.0:0              LISTENING       2188 E:\eclipse_workspace\normandy>taskkill /PID 2188 错误: 无法终止 PID 为 2188 的进程. 原因: 只能强行终止这个进程(带 /F 选项). E:\eclipse_workspace\normandy>taskkill /F /P

springboot启动报错:&quot;Error starting ApplicationContext. To display the conditions report re-run your application with &#39;debug&#39; enabled.&quot;

报错内容 java.lang.Object.wait(Native Method)java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:143)com.mysql.jdbc.AbandonedConnectionCleanupThread.run(AbandonedConnectionCleanupThread.java:41)2019-02-14 14:58:00.326 INFO 17688 --- [ main] Condition

centos7中启动tomcat提示bash: tomcat8.0.39/bin/startup.sh: 权限不够

问题描述: centos7中启动tomcat提示bash: tomcat8.0.39/bin/startup.sh: 权限不够 解决方案:先进入bin目录 [[email protected]/]# cd /soft/apache-tomcat-8.0.39/bin 然后执行以下命令:[[email protected] bin]# chmod u+x *.sh 最后再在bin命令行重启应用服务:[[email protected] bin]# ./startup.sh—————————————

启动Tomcat提示:指定的服务未安装

新下载的Tomcat7.0 解压缩完了运行tomcat7.exe屏幕一闪就没了 运行tomcat7w.exe弹出个筐指定的服务并未以已安装的服务存在 Unable to open the Service 'tomcat6' 我安装了tomcat7,双击startup.bat可以正常启动Tomcat,也可以显示http://localhost:8080/,但是貌似安装版的不好用.卸载之后,也把tomcat的一些服务给卸载了.双击绿色版的tomcat7w.exe却出现"指定的服务并未以已安装的服务存