在频繁启动Eclipse Juno
时,我收到了server failed to start
..我删除了.snap
和临时文件夹,但我经常遇到同样的问题。
如果我多次改变工作空间,它会运行一段时间,但它没有启动。为什么它会如何避免呢?
请清楚我的问题,我经常得到它。
console error:
java.util.concurrent.ExecutionException: org.apache.catalina.LifecycleException: Failed to start component [StandardEngine[Catalina].StandardHost[localhost].StandardContext[/sample]] at java.util.concurrent.FutureTask$Sync.innerGet(Unknown Source) at java.util.concurrent.FutureTask.get(Unknown Source) Caused by: org.apache.catalina.LifecycleException: Failed to start component [StandardEngine[Catalina].StandardHost[localhost].StandardContext[/sample]] at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:154) ... 7 more Caused by: java.lang.IllegalArgumentException: The servlets named [DisplayServlet] and [com.sensiple.DisplayServlet] are both mapped to the url-pattern [/DisplayServlet] which is not permitted at org.apache.catalina.deploy.WebXml.addServletMapping(WebXml.java:335) SEVERE: A child container failed during start java.util.concurrent.ExecutionException: org.apache.catalina.LifecycleException: Failed to start component [StandardEngine[Catalina].StandardHost[localhost]] WARNING: Failed to retrieve JNDI naming context for container [StandardEngine[Catalina].StandardHost[localhost].StandardContext[/sample]] so no cleanup was performed for that container javax.naming.NamingException: No naming context bound to this class loader
答案 0 :(得分:1)
您已经尝试过第一件事,即切换到不同的工作区。
这基本上不可能调试。如果我是你,我将删除已安装的Eclipse版本并重新安装最新版本,现在是Kepler(4.3.1)。