无法检索容器的JNDI命名上下文[StandardEngine [Catalina] .StandardHost

时间:2018-04-08 12:38:06

标签: java jsp tomcat servlets jndi

启动Tomcat时出错。 汤姆卡未能开始。

localhost上的服务器Tomcat v8.0服务器无法启动。

2018年4月8日下午6:05:09 org.apache.catalina.deploy.NamingResourcesImpl cleanUp 警告:无法检索容器[StandardEngine [Catalina] .StandardHost [localhost] .StandardContext [/ project]]的JNDI命名上下文,因此未对该容器执行清理 javax.naming.NamingException:没有绑定到此类加载器的命名上下文     在org.apache.naming.ContextBindings.getClassLoader(ContextBindings.java:258)     在org.apache.catalina.deploy.NamingResourcesImpl.cleanUp(NamingResourcesImpl.java:992)     at org.apache.catalina.deploy.NamingResourcesImpl.stopInternal(NamingResourcesImpl.java:975)     在org.apache.catalina.util.LifecycleBase.stop(LifecycleBase.java:221)     at org.apache.catalina.core.StandardContext.stopInternal(StandardContext.java:5559)     在org.apache.catalina.util.LifecycleBase.stop(LifecycleBase.java:221)     在org.apache.catalina.util.LifecycleBase.destroy(LifecycleBase.java:259)     在org.apache.catalina.core.ContainerBase.removeChild(ContainerBase.java:860)     在org.apache.catalina.core.ContainerBase.destroyInternal(ContainerBase.java:1040)     在org.apache.catalina.util.LifecycleBase.destroy(LifecycleBase.java:292)     在org.apache.catalina.core.ContainerBase.removeChild(ContainerBase.java:860)     在org.apache.catalina.core.ContainerBase.destroyInternal(ContainerBase.java:1040)     在org.apache.catalina.util.LifecycleBase.destroy(LifecycleBase.java:292)     at org.apache.catalina.core.StandardService.destroyInternal(StandardService.java:604)     在org.apache.catalina.util.LifecycleBase.destroy(LifecycleBase.java:292)     在org.apache.catalina.core.StandardServer.destroyInternal(StandardServer.java:879)     在org.apache.catalina.util.LifecycleBase.destroy(LifecycleBase.java:292)     在org.apache.catalina.startup.Catalina.start(Catalina.java:645)     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)     在org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:349)     在org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:483)

0 个答案:

没有答案