When i try and create a maven project with intellij https://ibb.co/ek7Lfv and the project has been created i can't create any java files? when ever i clikc on the folders https://ibb.co/c7DnSa this is what i get and no option for new java class file? What is happaning.
当我尝试使用intellij https://ibb.co/ek7Lfv创建一个maven项目并且项目已经创建时我无法创建任何java文件?什么时候我clikc文件夹https://ibb.co/c7DnSa这是我得到的,没有新的java类文件的选项?什么是幸福。
And then after roughly 10 mins of waiting i finally get this massage https://ibb.co/cPp5DF and then it starts working as it should. But why do i have to wait 10 min for it pop up? What the heck am i doing wrong?
然后在大约10分钟的等待后,我终于得到了这个按摩https://ibb.co/cPp5DF然后它开始正常工作。但是为什么我要等10分钟才能弹出它?我到底做错了什么?
1 个解决方案
#1
1
IntelliJ has unintuitive default behaviour for maven projects. It does not apply changes from pom.xml
to project structure.
IntelliJ对maven项目具有不直观的默认行为。它不会将pom.xml中的更改应用于项目结构。
So every time I create or import maven project I manually select a checkbox Import Maven projects automatically
所以每次我创建或导入maven项目时,我都会手动选择一个复选框自动导入Maven项目
#1
1
IntelliJ has unintuitive default behaviour for maven projects. It does not apply changes from pom.xml
to project structure.
IntelliJ对maven项目具有不直观的默认行为。它不会将pom.xml中的更改应用于项目结构。
So every time I create or import maven project I manually select a checkbox Import Maven projects automatically
所以每次我创建或导入maven项目时,我都会手动选择一个复选框自动导入Maven项目