Cannot start server. Server instance is not configured.

问题描述:

eclipse中Run on Server(tomcat)

2月 18, 2019 11:27:06 上午 org.apache.catalina.startup.Catalina load
警告: Unable to load server configuration from [E:\wenlanCode\eclipseEE\.metadata\.plugins\org.eclipse.wst.server.core\tmp0\conf\server.xml]
2月 18, 2019 11:27:06 上午 org.apache.catalina.startup.Catalina start
严重: Cannot start server. Server instance is not configured.

解决:需要在eclipse中启动自己安装的tomcat

安装环境:JDK10,eclipse for JavaEE,tomcat8.5……

  1. Window->preference->server->Runtinme Environment,删除原有tomcat。
    Cannot start server. Server instance is not configured.
  2. Add,选择自己下载的tomcat版本。
    Cannot start server. Server instance is not configured.
  3. 点击next,在第二个文本框选择自己的tomcat安装目录。在第三个下拉框中选择自己的jre版本,点击Finish后Apply and Close。
    Cannot start server. Server instance is not configured.
  4. 点击server中的tomcat,得到以下界面。
    Cannot start server. Server instance is not configured.
  5. 在Server Location选项卡中,选择第二个单选按钮(Use Tomcat installation),是用自己安装的tomcat。保存。
    Cannot start server. Server instance is not configured.
  6. 再进行操作便没有问题了。