赞
踩
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.)
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。