gpt4 book ai didi

java - pom.xml 输入不包含数据@

转载 作者:行者123 更新时间:2023-12-01 16:56:58 25 4
gpt4 key购买 nike

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

enter image description here

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

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

关于java - pom.xml 输入不包含数据@,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/61574540/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com