使用Maven创建项目遇报错,求助查找pom.xml文件位置
Hi everyone,
I've successfully installed Maven on my system—running mvn --version returns the correct version details with no issues. However, when I try to create a quickstart project using this command:
mvn archetype:generate -DgroupId=com.mycompany.app -DartifactId=my-app -DarchetypeArtifactId=maven-archetype-quickstart -DarchetypeVersion=1.4 -DinteractiveMode=false
I run into an error, and I've included a screenshot of the error for reference.
The main issue I'm stuck on right now is that I can't find the pom.xml file where I can specify the Java version. Could someone tell me where this file is located after installing Maven? I'm using the latest version of Maven, and I followed the steps in the official Maven five-minute guide, but I still haven't been able to resolve this problem.
Thanks in advance for any help!
内容的提问来源于stack exchange,提问作者Aleks Uher

