重装一下tomcat,或者是你的tomcat与win7不兼容,或者你写的过滤器的问题

解决方案 »

  1.   

    重装了:装的是MyEclipse9.1和Tomcat7.0.26启动Tomcat时出现如下问题:
    弹出一个窗口(信息如下):
    A configuration error occured during startup.Please verfy the preference fild with the prompt:
    Cannot connect to VM.
    控制台信息如下:
    FATAL ERROR in native method: JDWP No transports initialized, jvmtiError=AGENT_ERROR_TRANSPORT_INIT(197)
    ERROR: transport error 202: connect failed: Connection timed out
    ERROR: JDWP Transport dt_socket failed to initialize, TRANSPORT_INIT(510)
    JDWP exit error AGENT_ERROR_TRANSPORT_INIT(197): No transports initialized [../../../src/share/back/debugInit.c:690]
    启动Tomcat7.0后,马上又由启动状态转变成stop状态,并抛出异常!
    求高手赐教解决方案!
      

  2.   

    严重: StandardServer.await: create[localhost:8005]:
    这个错误。你到tomcat安装目录里找conf\server.xml,把所有8005改成其他的。例如8006
    严重: Failed to start connector [Connector[HTTP/1.1-8080]]
    这个错误。也是在那里把所有8080改成其他的。例如8088.
    你输网址的时候就把8080改成你改的那个端口号就行了。
    其他的不知道怎么改了,但能打开网页,也能启动tomcat.
      

  3.   

    补充:
    严重: Failed to start connector [Connector[AJP/1.3-8009]]
    这个错误。也是在那里。把所有8009改成其他的。例如8010.
    其他的就没错了。