为了账号安全,请及时绑定邮箱和手机立即绑定

Tomcat启动报错

java.lang.IllegalArgumentException: Document base C:\Users\Administrator\.SmartTomcat\seckill\seckill\webapps\host-manager does not exist or is not a readable directory

at org.apache.naming.resources.FileDirContext.setDocBase(FileDirContext.java:142)

at org.apache.catalina.core.StandardContext.resourcesStart(StandardContext.java:4350)

at org.apache.catalina.core.StandardContext.start(StandardContext.java:4523)

at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:803)

at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:780)

at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:583)

at org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:676)

at org.apache.catalina.startup.HostConfig.deployDescriptors(HostConfig.java:602)

at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:503)

at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1322)

at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:325)

at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:142)

at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1069)

at org.apache.catalina.core.StandardHost.start(StandardHost.java:822)

at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1061)

at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:463)

at org.apache.catalina.core.StandardService.start(StandardService.java:525)

at org.apache.catalina.core.StandardServer.start(StandardServer.java:759)

at org.apache.catalina.startup.Catalina.start(Catalina.java:595)

at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)

at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

at java.lang.reflect.Method.invoke(Method.java:498)

at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:289)

at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:414)


六月 16, 2017 9:25:45 上午 org.apache.catalina.core.StandardContext start

严重: Error in resourceStart()

六月 16, 2017 9:25:45 上午 org.apache.catalina.core.StandardContext start

严重: Error getConfigured

六月 16, 2017 9:25:45 上午 org.apache.catalina.core.StandardContext start

严重: Context [/host-manager] startup failed due to previous errors

六月 16, 2017 9:25:45 上午 org.apache.catalina.core.StandardContext stop

信息: Container org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/host-manager] has not been started

六月 16, 2017 9:25:45 上午 org.apache.catalina.startup.HostConfig deployDescriptor

信息: Deploying configuration descriptor manager.xml

六月 16, 2017 9:25:45 上午 org.apache.catalina.core.StandardContext resourcesStart

严重: Error starting static Resources

java.lang.IllegalArgumentException: Document base C:\Users\Administrator\.SmartTomcat\seckill\seckill\webapps\manager does not exist or is not a readable directory

at org.apache.naming.resources.FileDirContext.setDocBase(FileDirContext.java:142)

at org.apache.catalina.core.StandardContext.resourcesStart(StandardContext.java:4350)

at org.apache.catalina.core.StandardContext.start(StandardContext.java:4523)

at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:803)

at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:780)

at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:583)

at org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:676)

at org.apache.catalina.startup.HostConfig.deployDescriptors(HostConfig.java:602)

at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:503)

at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1322)

at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:325)

at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:142)

at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1069)

at org.apache.catalina.core.StandardHost.start(StandardHost.java:822)

at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1061)

at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:463)

at org.apache.catalina.core.StandardService.start(StandardService.java:525)

at org.apache.catalina.core.StandardServer.start(StandardServer.java:759)

at org.apache.catalina.startup.Catalina.start(Catalina.java:595)

at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)

at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

at java.lang.reflect.Method.invoke(Method.java:498)

at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:289)

at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:414)


正在回答

1 回答

C:\Users\Administrator\.SmartTomcat\seckill\seckill\webapps\manager

\.SmartTomcat\,这里是不是多了一个点  . ?

0 回复 有任何疑惑可以回复我~

举报

0/150
提交
取消

Tomcat启动报错

我要回答 关注问题
意见反馈 帮助中心 APP下载
官方微信