【JAVA】WebDemo环境配置

在已经安装过Eclipse基础上,没有安装Tomcat和Java EE插件遇到的一些问题,记录下。

1.安装java ee插件和server服务

找到Help->InstallNew Software->"Kepler" repository(http://download.eclipse.org/releases/kepler)->

展开:

JST Server AdaptersExtensions(打勾选上该项),还有这4个:

2.The server cannot be started because one or more of the ports are invalid. Open the server editor and correct the invalid ports.无法启动服务器,因为一个或多个端口无效。打开服务器编辑器并更正无效端口。

找到server如图,server找不到话在other中

把原来的-1端口修改即可

3.配置Tomcat8.5

https://blog.csdn.net/fengxing11/article/details/63255657

4.Eclipse中运行jsp文件时显示中文乱码问题

解决:https://blog.csdn.net/ideaddxxpp/article/details/90640096

猜你喜欢

转载自blog.csdn.net/qq_43633973/article/details/104616302