IntelliJ Ultimate中添加配置时无法看到Tomcat Application server的问题咨询
Troubleshooting Empty Application Server List in IntelliJ Ultimate for Tomcat
Hey there! Let me clear up this common confusion first:
Enabling Tomcat/EE plugins in IntelliJ does NOT mean you've installed the Tomcat server itself. The plugins just add IDE support for Tomcat-related workflows (like deployment, debugging), but you still need to download and set up the actual Tomcat server on your machine.
Here's how to fix the empty Application Server list:
- First, download the Tomcat version compatible with your JDK (e.g., Tomcat 9 works with JDK 8+, Tomcat 10 requires JDK 11+). Extract it to a local directory that has no Chinese characters, spaces, or special symbols (e.g.,
C:\Servers\apache-tomcat-9.0.80is good;C:\我的工具\Tomcatwill cause issues). - Go back to IntelliJ's
Add Configurationwindow, click the+icon in the top-left corner, then selectTomcat Server→Local. - In the configuration popup, click the
Configure...button next to the Application Server field. Navigate to the directory where you extracted Tomcat, and IntelliJ will automatically detect it. - Once configured, the Tomcat server will show up in the Application Server dropdown list.
Have other developers faced this issue?
Absolutely! This is one of the most common gotchas for folks new to IntelliJ and Tomcat. The top causes are:
- Mixing up IDE plugins with actual server installation
- Tomcat installation path containing invalid characters (Chinese, spaces, etc.)
- Mismatched JDK and Tomcat versions (e.g., using JDK 8 with Tomcat 10)
- Corrupted IDE cache (fixable by going to
File → Invalidate Caches...and restarting IntelliJ)
If you still run into problems after these steps, double-check your JDK setup in File → Project Structure → SDKs to ensure it meets Tomcat's requirements.
内容的提问来源于stack exchange,提问作者Andie
相关产品推荐
相关产品推荐

