简体   繁体   中英

"Error: no label provider for Tomcat v9.0 at localhost"

I'm trying to simply attach a Tomcat server to my Eclipse project, however every time I try to add a server I get an error in the server view section of Eclipse. The server info shows up in the project explorer, but you cannot run/edit the server from the server view.

This is what the error looks like: 在此处输入图片说明

Even right clicking inside of the server view just says, "Clean Tomcat work directory..." and "Browse deployment location..." rather than creating a new server.

My Tomcat installation works fine, checking localhost:8080, so it must be something with Eclipse.

I'm using Tomcat v9.0 as well as jdk 1.8.0_241

To solve this error create new workspace and add your projects to that workspace. This error is just related with current workspace only, so by creating new workspace in eclipse you can add tomcat server and continue your work with no issue.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM