简体   繁体   English

IntelliJ和Maven - 无法创建maven项目

[英]IntelliJ and Maven - Can't create a maven project

I have the newest IntelliJ, and the create Maven project button is gone. 我有最新的IntelliJ,并且创建Maven项目按钮消失了。 I also cant find it in any of the lists. 我也无法在任何列表中找到它。

See the intellij menu 请参阅intellij菜单

You can see the difference here, in IntelliJ's Getting Started with Maven page: https://www.jetbrains.com/help/idea/2016.1/getting-started-with-maven.html 您可以在IntelliJ的Maven入门页面中看到不同之处: https//www.jetbrains.com/help/idea/2016.1/getting-started-with-maven.html

Anyone know how to get it back? 有谁知道怎么回来?

I want it because then you get the structure, and the pom.xml file automatically. 我想要它,因为然后你自动获得结构和pom.xml文件。

You need to install the Maven plugin. 您需要安装Maven插件。

Go to Plugins (in IntelliJ; press shift-shift, and search for "plugins"). 转到插件(在IntelliJ中;按shift-shift,然后搜索“插件”)。 In Plugins window, search for Maven and install the Maven Plugins. 在“插件”窗口中,搜索Maven并安装Maven插件。

您可以创建Java项目,然后右键单击您的项目 - >添加框架支持 - >选择maven。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

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