服务器-eclipse启动不了, 请帮帮。

问题描述

eclipse启动不了, 请帮帮。

Server Tomcat v7.0 Server at localhost failed to start.

我试过的办法:
1.重新下载tomcat替换服务器
2.检查web.xml 过滤器的配置。
3.代码重新写。
4.tomcat 的端口改变(8080,8009,8005)
5.检查所有该有的jar 包。
结果还是没能解决,希望各位大神还有没有我没注意到的 谢谢。
这已经耗费了我几天的时间,

解决方案

错误提示消息是什么?你应该说清楚。

解决方案二:

Jan 02, 2016 4:54:26 PM org.apache.tomcat.util.digester.SetPropertiesRule begin
WARNING: [SetPropertiesRule]{Server/Service/Engine/Host/Context} Setting property 'source' to 'org.eclipse.jst.jee.server:shop1' did not find a matching property.
Jan 02, 2016 4:54:26 PM org.apache.catalina.startup.VersionLoggerListener log
INFO: Server version: Apache Tomcat/7.0.67
Jan 02, 2016 4:54:26 PM org.apache.catalina.startup.VersionLoggerListener log
INFO: Server built: Dec 7 2015 13:07:11 UTC
Jan 02, 2016 4:54:26 PM org.apache.catalina.startup.VersionLoggerListener log
INFO: Server number: 7.0.67.0
Jan 02, 2016 4:54:26 PM org.apache.catalina.startup.VersionLoggerListener log
INFO: OS Name: Windows 8.1
Jan 02, 2016 4:54:26 PM org.apache.catalina.startup.VersionLoggerListener log
INFO: OS Version: 6.3
Jan 02, 2016 4:54:26 PM org.apache.catalina.startup.VersionLoggerListener log
INFO: Architecture: x86
Jan 02, 2016 4:54:26 PM org.apache.catalina.startup.VersionLoggerListener log
INFO: Java Home: C:Program Files (x86)Javajre1.8.0_66
Jan 02, 2016 4:54:26 PM org.apache.catalina.startup.VersionLoggerListener log
INFO: JVM Version: 1.8.0_66-b18
Jan 02, 2016 4:54:26 PM org.apache.catalina.startup.VersionLoggerListener log
INFO: JVM Vendor: Oracle Corporation
Jan 02, 2016 4:54:26 PM org.apache.catalina.startup.VersionLoggerListener log
INFO: CATALINA_BASE: D:Workspace Eclipse.metadata.pluginsorg.eclipse.wst.server.coretmp0
Jan 02, 2016 4:54:26 PM org.apache.catalina.startup.VersionLoggerListener log
INFO: CATALINA_HOME: C:Program Files (x86)Apache Software FoundationTomcat 7.0
Jan 02, 2016 4:54:26 PM org.apache.catalina.startup.VersionLoggerListener log
INFO: Command line argument: -Dcatalina.base=D:Workspace Eclipse.metadata.pluginsorg.eclipse.wst.server.coretmp0
Jan 02, 2016 4:54:26 PM org.apache.catalina.startup.VersionLoggerListener log
INFO: Command line argument: -Dcatalina.home=C:Program Files (x86)Apache Software FoundationTomcat 7.0
Jan 02, 2016 4:54:26 PM org.apache.catalina.startup.VersionLoggerListener log
INFO: Command line argument: -Dwtp.deploy=D:Workspace Eclipse.metadata.pluginsorg.eclipse.wst.server.coretmp0wtpwebapps
Jan 02, 2016 4:54:26 PM org.apache.catalina.startup.VersionLoggerListener log
INFO: Command line argument: -Djava.endorsed.dirs=C:Program Files (x86)Apache Software FoundationTomcat 7.0endorsed
Jan 02, 2016 4:54:26 PM org.apache.catalina.startup.VersionLoggerListener log
INFO: Command line argument: -Dfile.encoding=GBK
Jan 02, 2016 4:54:26 PM org.apache.catalina.core.AprLifecycleListener lifecycleEvent
INFO: The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: C:Program Files (x86)Javajre1.8.0_66bin;C:WindowsSunJavabin;C:Windowssystem32;C:Windows;C:/Program Files (x86)/Java/jre1.8.0_66/bin/client;C:/Program Files (x86)/Java/jre1.8.0_66/bin;C:/Program Files (x86)/Java/jre1.8.0_66/lib/i386;C:ProgramDataOracleJavajavapath;C:Windowssystem32;C:Windows;C:WindowsSystem32Wbem;C:WindowsSystem32WindowsPowerShellv1.0;C:Program Files (x86)SkypePhone;C:UsersAdministratorAppDataRoaming搜狐影音5.0.1.97;C:UsersAdministratorDesktopeclipse web;;.
Jan 02, 2016 4:54:27 PM org.apache.coyote.AbstractProtocol init
INFO: Initializing ProtocolHandler ["http-bio-8080"]
Jan 02, 2016 4:54:27 PM org.apache.coyote.AbstractProtocol init
INFO: Initializing ProtocolHandler ["ajp-bio-8009"]
Jan 02, 2016 4:54:27 PM org.apache.catalina.startup.Catalina load
INFO: Initialization processed in 5474 ms
Jan 02, 2016 4:54:27 PM org.apache.catalina.core.StandardService startInternal
INFO: Starting service Catalina
Jan 02, 2016 4:54:27 PM org.apache.catalina.core.StandardEngine startInternal
INFO: Starting Servlet Engine: Apache Tomcat/7.0.67
Jan 02, 2016 4:54:29 PM org.apache.catalina.util.SessionIdGeneratorBase createSecureRandom
INFO: Creation of SecureRandom instance for session ID generation using [SHA1PRNG] took [516] milliseconds.
Jan 02, 2016 4:54:34 PM org.apache.catalina.core.ContainerBase startInternal
SEVERE: A child container failed during start
java.util.concurrent.ExecutionException: org.apache.catalina.LifecycleException: Failed to start component [StandardEngine[Catalina].StandardHost[localhost].StandardContext[/shop1]]
at java.util.concurrent.FutureTask.report(Unknown Source)
at java.util.concurrent.FutureTask.get(Unknown Source)
at org.apache.catalina.core.ContainerBase.startInternal(ContainerBase.java:1122)
at org.apache.catalina.core.StandardHost.startInternal(StandardHost.java:819)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1574)
at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1564)
at java.util.concurrent.FutureTask.run(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Caused by: org.apache.catalina.LifecycleException: Failed to start component [StandardEngine[Catalina].StandardHost[localhost].StandardContext[/shop1]]
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:154)
... 6 more
Caused by: java.lang.IllegalArgumentException: Filter mapping specifies an unknown filter name openSessionViewFilter
at org.apache.catalina.core.StandardContext.validateFilterMap(StandardContext.java:3183)
at org.apache.catalina.core.StandardContext.addFilterMap(StandardContext.java:3148)
at org.apache.catalina.deploy.WebXml.configureContext(WebXml.java:1343)
at org.apache.catalina.startup.ContextConfig.webConfig(ContextConfig.java:1357)
at org.apache.catalina.startup.ContextConfig.configureStart(ContextConfig.java:889)
at org.apache.catalina.startup.ContextConfig.lifecycleEvent(ContextConfig.java:386)
at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:117)
at org.apache.catalina.util.LifecycleBase.fireLifecycleEvent(LifecycleBase.java:90)
at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5479)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
... 6 more

Jan 02, 2016 4:54:34 PM org.apache.catalina.core.ContainerBase startInternal
SEVERE: A child container failed during start
java.util.concurrent.ExecutionException: org.apache.catalina.LifecycleException: Failed to start component [StandardEngine[Catalina].StandardHost[localhost]]
at java.util.concurrent.FutureTask.report(Unknown Source)
at java.util.concurrent.FutureTask.get(Unknown Source)
at org.apache.catalina.core.ContainerBase.startInternal(ContainerBase.java:1122)
at org.apache.catalina.core.StandardEngine.startInternal(StandardEngine.java:300)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
at org.apache.catalina.core.StandardService.startInternal(StandardService.java:443)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
at org.apache.catalina.core.StandardServer.startInternal(StandardServer.java:739)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
at org.apache.catalina.startup.Catalina.start(Catalina.java:693)
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)
at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:294)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:428)
Caused by: org.apache.catalina.LifecycleException: Failed to start component [StandardEngine[Catalina].StandardHost[localhost]]
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:154)
at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1574)
at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1564)
at java.util.concurrent.FutureTask.run(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Caused by: org.apache.catalina.LifecycleException: A child container failed during start
at org.apache.catalina.core.ContainerBase.startInternal(ContainerBase.java:1130)
at org.apache.catalina.core.StandardHost.startInternal(StandardHost.java:819)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
... 6 more

Jan 02, 2016 4:54:34 PM org.apache.catalina.startup.Catalina start
SEVERE: The required Server component failed to start so Tomcat is unable to start.
org.apache.catalina.LifecycleException: Failed to start component [StandardServer[8005]]
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:154)
at org.apache.catalina.startup.Catalina.start(Catalina.java:693)
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)
at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:294)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:428)
Caused by: org.apache.catalina.LifecycleException: Failed to start component [StandardService[Catalina]]
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:154)
at org.apache.catalina.core.StandardServer.startInternal(StandardServer.java:739)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
... 7 more
Caused by: org.apache.catalina.LifecycleException: Failed to start component [StandardEngine[Catalina]]
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:154)
at org.apache.catalina.core.StandardService.startInternal(StandardService.java:443)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
... 9 more
Caused by: org.apache.catalina.LifecycleException: A child container failed during start
at org.apache.catalina.core.ContainerBase.startInternal(ContainerBase.java:1130)
at org.apache.catalina.core.StandardEngine.startInternal(StandardEngine.java:300)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
... 11 more

Jan 02, 2016 4:54:34 PM org.apache.coyote.AbstractProtocol pause
INFO: Pausing ProtocolHandler ["http-bio-8080"]
Jan 02, 2016 4:54:34 PM org.apache.coyote.AbstractProtocol pause
INFO: Pausing ProtocolHandler ["ajp-bio-8009"]
Jan 02, 2016 4:54:34 PM org.apache.catalina.core.StandardService stopInternal
INFO: Stopping service Catalina
Jan 02, 2016 4:54:34 PM org.apache.coyote.AbstractProtocol destroy
INFO: Destroying ProtocolHandler ["http-bio-8080"]
Jan 02, 2016 4:54:34 PM org.apache.coyote.AbstractProtocol destroy
INFO: Destroying ProtocolHandler ["ajp-bio-8009"]

解决方案三:

Server Tomcat v7.0 Server at localhost failed to start.

解决方案四:

1.web.xml出现了问题

1.检查中配置的内容是否缺少“/” ,"/"表示当前web应用。

@WebFilter("/*")

2.如果是springmvc检查controller类中@RequestMapping(value =是否有报错的情况

解决方案五:

认为是web.xml中openSessionViewFilter的配置不对。

中的是否正确?
中的和中的是否正确?
中的是否正确?
等等。。。

参考如下。

Spring OpenSessionInViewFilter
org.springframework.orm.hibernate3.support.OpenSessionInViewFilter

singleSession
true

Spring OpenSessionInViewFilter
/*

时间: 2024-09-20 14:27:39

服务器-eclipse启动不了, 请帮帮。的相关文章

服务器-webservice启动问题,请指教

问题描述 webservice启动问题,请指教 严重: Exception sending context initialized event to listener instance of class org.springframework.web.context.ContextLoaderListener java.lang.NoClassDefFoundError: org/apache/commons/logging/LogFactory at org.springframework.w

服务器-eclipse启动tomcat没报错,浏览器访问http://localhost:8080/是404

问题描述 eclipse启动tomcat没报错,浏览器访问http://localhost:8080/是404 怎么解决,谢谢 解决方案 可能是tomcat的欢迎页面被删除了. 解决方案二: eclipse启动tomcat 访问http://localhost:8080 报404错误eclipse启动tomcat 访问http://localhost:8080 报404错误eclipse启动tomcat 访问http://localhost:8080 报404错误 解决方案三: 工程部署到Roo

请各位高手学哥学姐们帮帮忙呀!试图运行项目是出错;无法在Web服务器上启动调试。您不具备调试此应用程序的权限。

问题描述 试图运行项目是出错;无法在Web服务器上启动调试.您不具备调试此应用程序的权限. 解决方案 解决方案二:一个可能是你IE被设置了代理服务器:regasp_iis.exe-i重新注册一下iis:解决方案三:谢谢可是又出问题了

MySQL服务器的启动与停止

mysql|服务器 MySQL服务器的启动与停止[晏子] 一.以非特权用户运行MySQL服务器 在讨论如何启动MySQL服务器之前,让我们考虑一下应该以什么用户身份运行MySQL服务器.服务器可以手动或自动启动.如果你手动启动它,服务器以你登录Unix(Linux)的用户身份启动,即如果你用paul登录Unix并启动服务器,它用paul运行:如果你用su命令切换到root,然后运启动服务器,则它以root运行.然而,大多数情况下你可能不想手动启动服务器,最有可能是你安排MySQL服务器在系统引导

Mysql服务器的启动与停止(一)

mysql|服务器 在讨论如何启动MySQL服务器之前,让我们考虑一下应该以什么用户身份运行MySQL服务器.服务器可以手动或自动启动.如果你手动启动它,服务器以你登录Unix(Linux)的用户身份启动,即如果你用paul登录Unix并启动服务器,它用paul运行:如果你用su命令切换到root,然后运启动服务器,则它以root运行.然而,大多数情况下你可能不想手动启动服务器,最有可能是你安排MySQL服务器在系统引导时自动启动,作为标准引导过程的一部分,在Unix下,该引导过程由系统的Uni

MySQL服务器的启动和关闭

mysql|服务器 作为MySQL管理员,一个普通的目标就是确保服务器尽可能地处于运行状态,使得客户机能够随时访问它.但是,有时最好关闭服务器(例如,如果正在进行数据库的重定位,不希望服务器在该数据库中更新表).保持服务器运行和偶尔关闭它的需求关系不是本书所解 决的.但是我们至少可以讨论如何使服务器启动和停止,以便您具备进行这两个操作的能力.     本章的说明只用于UNIX 系统.如果正在运行Windows 系统,可以跳过本章,因为附录A"获得和安装软件"一节中包含了所有需要的启动和

Eclipse启动运行速度调优

提高 JAVA IDE 的性能的JVM开关 Submitted by 小天蝎 on 2005, August 18, 2:45 PM. integration 我的本本是p4 1.8G的dell c640 内存1G,eclipse 3.1 + myeclipse 4.0m2 速度还不错. 运行参数如下: eclipse.exe -vmargs -Xverify:none -XX:+UseParallelGC -XX:PermSize=20M -------------- JVM 提供了各种用于调

eclipse启动报错,不重新搭建环境怎么解决?

问题描述 eclipse启动报错,不重新搭建环境怎么解决? 解决方案 paip.eclipse忽然启动报错的解决 解决方案二: 是不是没有配置环境变量 解决方案三: ...........配置环境变量吧 解决方案四: 你这个adt是32位版本的,那么它也必须使用32位版本的jdk,你去检查一下系统里jdk的版本,看看两个是不是不一样.另外,看看是不是安装了jdk更新,如果有,请卸载,再试试 解决方案五: 配置环境变量,再检查一下下 解决方案六: 首先看下坏境变量,之后看下是不是32位和64位的问

MySQL服务器的启动和关闭_Mysql

    本章的说明只用于UNIX 系统.如果正在运行Windows 系统,可以跳过本章,因为附录A"获得和安装软件"一节中包含了所有需要的启动和关闭命令.      调用本章给出的命令      为了简洁,在大多数情况中,诸如mysqla d m i n.mysqldump 等程序在本章中没有给出任何- h.- u或- p选项.笔者假定您将会用连接服务器所需的任何选项调用这些程序.  用无特权的用户账号运行MySQL服务器      在讨论如何启动服务器之前,考虑一下在服务器启动时应该