当前位置: 代码迷 >> Eclipse >> eclipse与tomcat联接报错
  详细解决方案

eclipse与tomcat联接报错

热度:103   发布时间:2016-04-23 14:51:06.0
eclipse与tomcat连接报错
我的eclipse与tomcat连接时报如下的错误,是什么原因呢?请大家多多指教,不胜感激!  

安装信息:
1.   tomcat测试通过了,可以显示管理页面
2.   我的   tomcat版本是tomcat5.5
3.   Eclipse的版本是   3.2.2
4.   MyEclipse版本是   5.5
5.   直接启动tomcat,能正常启动
下面是错误日志   :

2007-6-13   23:23:00   org.apache.catalina.core.StandardContext   start
严重:   Error   in   resourceStart()
2007-6-13   23:23:00   org.apache.catalina.core.StandardContext   start
严重:   Error   getConfigured
2007-6-13   23:23:00   org.apache.catalina.core.StandardContext   start
严重:   Context   [/admin]   startup   failed   due   to   previous   errors
2007-6-13   23:23:00   org.apache.catalina.core.StandardContext   stop
信息:   Container   org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/admin]   has   not   been   started
2007-6-13   23:24:14   org.apache.coyote.http11.Http11AprProtocol   pause
信息:   Pausing   Coyote   HTTP/1.1   on   http-80
2007-6-13   23:24:14   org.apache.coyote.ajp.AjpAprProtocol   pause
信息:   Pausing   Coyote   AJP/1.3   on   ajp-8009
2007-6-13   23:24:15   org.apache.catalina.core.StandardService   stop
信息:   Stopping   service   Catalina
2007-6-13   23:24:15   org.apache.coyote.http11.Http11AprProtocol   destroy
信息:   Stopping   Coyote   HTTP/1.1   on   http-80
2007-6-13   23:24:15   org.apache.coyote.ajp.AjpAprProtocol   destroy
信息:   Stopping   Coyote   AJP/1.3   on   ajp-8009
2007-6-13   23:24:22   org.apache.coyote.http11.Http11AprProtocol   init
信息:   Initializing   Coyote   HTTP/1.1   on   http-80
2007-6-13   23:24:22   org.apache.coyote.ajp.AjpAprProtocol   init
信息:   Initializing   Coyote   AJP/1.3   on   ajp-8009
2007-6-13   23:24:22   org.apache.catalina.startup.Catalina   load
信息:   Initialization   processed   in   906   ms
2007-6-13   23:24:22   org.apache.catalina.core.StandardService   start
信息:   Starting   service   Catalina
2007-6-13   23:24:22   org.apache.catalina.core.StandardEngine   start
信息:   Starting   Servlet   Engine:   Apache   Tomcat/5.5.23
2007-6-13   23:24:22   org.apache.catalina.core.StandardHost   start
信息:   XML   validation   disabled
2007-6-13   23:24:22   org.apache.catalina.core.StandardContext   resourcesStart
严重:   Error   starting   static   Resources
java.lang.IllegalArgumentException:   Document   base   C:\Program   Files\Apache   Software   Foundation\Tomcat   5.5\server\webapps\admin   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:3855)
at   org.apache.catalina.core.StandardContext.start(StandardContext.java:4024)
at   org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:760)
at   org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:740)
at   org.apache.catalina.core.StandardHost.addChild(StandardHost.java:544)
at   org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:626)
at   org.apache.catalina.startup.HostConfig.deployDescriptors(HostConfig.java:553)
  相关解决方案