After configuring maven, no POM.xml? was found

the system is Windows 10 Home Edition

I downloaded the compressed package according to the guidelines of the official website (ides/getting-started/maven-in-five-minutes.html" rel=" nofollow noreferrer "> https://maven.apache.org/guid.), and configured the PATH directory after decompression

.

enter

mvn -v
After

, the following

is displayed
Apache Maven 3.5.3 (3383c37e1f9e9b3bc3df5050c29c8aff9f295297; 2018-02-25T03:49:05+08:00)
Maven home: D:\apache-maven-3.5.3\bin\..
Java version: 10, vendor: Oracle Corporation
Java home: D:\java\jdk
Default locale: zh_CN, platform encoding: GBK
OS name: "windows 10", version: "10.0", arch: "amd64", family: "windows"

then I try to take the second step

mvn archetype:generate -DgroupId=com.mycompany.app -DartifactId=my-app -DarchetypeArtifactId=maven-archetype-quickstart -DinteractiveMode=false

according to the official website, a directory should be generated, but my side hints that

[INFO] Scanning for projects...
[ERROR] [ERROR] Some problems were encountered while processing the POMs:
[FATAL] Non-readable POM D:\_project\test\pom.xml: input contained no data @

 @
[ERROR] The build could not read 1 project -> [Help 1]
[ERROR]
[ERROR]   The project  (D:\_project\test\pom.xml) has 1 error
[ERROR]     Non-readable POM D:\_project\test\pom.xml: input contained no data
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/ProjectBuildingException

after I opened the link of Help 1 , I didn"t say how to configure the default POM file, nor did I find a solution on the Internet

Thank you!

Mar.06,2021

the reason is that the following pom.xml already exists. Delete this pom.xml, and retest it

D:\_project\test\pom.xml
Menu