eclipse中Tomcat的建立

下载jdk
项目右键,properties,Java build path,添加javeee
下载Tomcat
上方菜单栏windows,perferences,server ,runtime environment,添加Tomcat(注意下面写的版本对应问题
错误:Unknown version of Tomcat was specified.
解决:这个错误是路径错误造成的。不要看到apache-tomcat-的路径就选中了,可能真正的在下一级目录。
[SetPropertiesRule]{Server/Service/Engine/Host/Context} Setting property ‘source’ to ‘org.eclipse.jst.jee.server:aa’ did not find a matching property

Several ports (8005, 8080, 8009) required by Tomcat v5.5 Server at localhost are already in use.

An internal error occurred during: “Initializing Java Tooling”.
Missing library: xdoclet-1.2.1.jar. Select the home directory for XDoclet. 1.2.1
The origin server did not find a current representation for the target resource or is not willing to disclose that one exists.

Several ports (8005, 8080, 8009) required by Tomcat v9.0 Server at localhost are already in use. The server may already be running in another process, or a system process may be using the port. To start this server you will need to stop the other process or change the port number(s).
解决:
在这里插入图片描述

你可能感兴趣的:(Tomcat,jdk,java,ee,eclipse)