Tomcat异常:The Tomcat server configuration at\Servers\Tomcat v9.0 Server at localhost-c

时间:2024-07-13 11:06:26

今天用Eclipse Java EE版写了几个java工程项目,然后再写java EE项目的jsp页面时,Tomcat出现了这个异常信息:

Tomcat异常:The Tomcat server configuration at\Servers\Tomcat v9.0 Server at localhost-c

解决办法:

在菜单栏Window——>Preferences——>Server——>Runtime Environments,将列表中已经配置的Tomcat给Remove掉,再重新Add进来,重新运行java EE项目,eclipse恢复正常。

Tomcat异常:The Tomcat server configuration at\Servers\Tomcat v9.0 Server at localhost-c