IntelliJ 14 Ultimate - Can not add framework

陌路散爱 提交于 2019-12-24 14:17:17

问题


Why can I not add the maven framework to my module?


回答1:


Maven is not considered as a framework in IntelliJ. If you want to add Maven support to your project, you should open the parent pom.xml, which will reimport the project as a Maven project.

See the documentation for further detail.

To import a Maven project with default settings

  1. On the main menu, choose File | Open.
  2. In the dialog box that opens, select the desired pom.xml file, and click OK. In this case the import is performed automatically, with the settings defined in the Maven Integration dialog.



回答2:


File > Settings > Plugins > Search for Maven and check Maven Integration.

Now when you right-click your solution and add framework support you should see Maven listed

Screenshot



来源:https://stackoverflow.com/questions/32463388/intellij-14-ultimate-can-not-add-framework

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!