IDEA的社区版中Facets无法添加Web支持

2022-07-29,,,,

IDEA项目无法转为Web项目(Facets无法添加Web支持)
对比项目的配置,发现 Project Structure 设置页面(快捷键:Ctrl+Shift+Alt+S)的facets属性下的web特性丢失了。而且点击下图中的加号,并没有应该有的Web可供选择.

最后找到IDEA官网Enabling Web Application Support(启用Web应用支持)说明文档 ,

发现了其中有这么两条:
1 IDEA版本必须是ULTIMATE版本
2 启用 Java EE:EJB,JPA,Servlets插件.

Prerequisites
For the Web Application option and associated features to be available:

You should be using the ULTIMATE Edition of IntelliJ IDEA. (The corresponding functionality is not available in the Community Edition.)

The Java EE: EJB, JPA, Servlets plugin must be enabled. (This plugin is bundled with the IDE and enabled by default.)

 

本文地址:https://blog.csdn.net/zhangvalue/article/details/108979427

《IDEA的社区版中Facets无法添加Web支持.doc》

下载本文的Word格式文档,以方便收藏与打印。