eclipse 的 tomcat 启动报错(Server Tomcat v7.0 Server at localhost failed to start.)
Posted
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了eclipse 的 tomcat 启动报错(Server Tomcat v7.0 Server at localhost failed to start.)相关的知识,希望对你有一定的参考价值。
FATALERRORinnativemethod:JDWPNotransportsinitialized,jvmtiError=AGENT_ERROR_TRANSPORT_INIT(197)ERROR:transporterror202:unabletocreatesocket:Providerinitializationfailed(c... FATAL ERROR in native method: JDWP No transports initialized, jvmtiError=AGENT_ERROR_TRANSPORT_INIT(197) ERROR: transport error 202: unable to create socket: Provider initialization failed (check %SystemRoot%) 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:750] 展开
参考技术A 你的tomcat是配置版的吧,试试安装版,比配置版容易的多1、安装jdk
2、配置jdk环境变量
3、安装tomcat,安装过程中会自动选择配置好的jdk中jre的路径
4、安装成功就可以了!
tomcat启动报错
tomcat启动时,总是提示The project was not built since its build path is incomplete,Cannot find the class file for javax.servlet.http.HttpServletRequest. Fix the build path then try building this project.
The type javax.servlet.http.HttpServletRequest cannot be resolved.It is indirectly referenced from required .class files
后经查看,发现是因为我移除了项目运行所需的 j2EE 1.4 Libraries ,解决方式如下:
在项目上右键 --> properties --> Java Build Path --> Libraries --> Add Library 选择 MyEclipse Libraries ,然后根据需要选择。
OVER!
以上是关于eclipse 的 tomcat 启动报错(Server Tomcat v7.0 Server at localhost failed to start.)的主要内容,如果未能解决你的问题,请参考以下文章
eclipse 的 tomcat 启动报错(Server Tomcat v7.0 Server at localhost failed to start.)
eclipse中安装并配置好TOMCAT后,点击启动按钮没有任何反应,也不报错 是啥问题
tomcat单独启动成功, eclipse启动tomcat报错, 错误一:找不到或无法加载主类 org.apache.catalina.startup.Bootstrap;错误二:端口被占用