pom.xml 输入不包含数据 @

pom.xml input contained no data @

Java 个项目未打开,新创建的 java 个项目已损坏。 我正在尝试在我的 Netbeans IDE 上创建一个新的 java 项目,但是,当创建一个新的 Web 应用程序项目时,它缺少文件夹并且 pom.xml 是空的

当我尝试解决描述中显示的问题时

1 problem was encountered while building the effective model
[FATAL] Non-readable POM E:\mavenproject1tgd\pom.xml: input contained no data @ 
 for project  at E:\mavenproject1tgd\pom.xml

这会显示在控制台中

Scanning for projects...
[ERROR] Some problems were encountered while processing the POMs:
Non-readable POM E:\mavenproject1tgd\pom.xml: input contained no data @ 
 @ 
The build could not read 1 project -> [Help 1]

  The project  (E:\mavenproject1tgd\pom.xml) has 1 error
    Non-readable POM E:\mavenproject1tgd\pom.xml: input contained no data

To see the full stack trace of the errors, re-run Maven with the -e switch.
Re-run Maven using the -X switch to enable full debug logging.

这不是一个完美的修复,但是,我赶时间所以我只卸载了 NetBeans ide 并重新安装了 Netbeans 和 Tomcat