Unrecognised tag: 'build'

本文介绍了一种在Maven项目中遇到的POM文件错误,具体表现为'build'标签未被识别的问题,并提供了相应的解决方案。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

[ERROR] [ERROR] Some problems were encountered while processing the POMs:
[ERROR] Malformed POM H:\eclipse_mars_teacher2\ego\ego-manager-web\pom.xml: Unrecognised tag: 'build'

 

放到dependencies外面

转载于:https://www.cnblogs.com/qingfengzhuimeng/p/7286235.html

"C:\Program Files\Java\jdk-22\bin\java.exe" -Dmaven.multiModuleProjectDirectory=D:\JAVA_CODE\shop\mall-user -Djansi.passthrough=true -Dmaven.home=D:\maven\apache-maven-3.9.9 -Dclassworlds.conf=D:\maven\apache-maven-3.9.9\bin\m2.conf "-Dmaven.ext.class.path=D:\IntelliJ IDEA 2024.3\plugins\maven\lib\maven-event-listener.jar" "-javaagent:D:\IntelliJ IDEA 2024.3\lib\idea_rt.jar=60000:D:\IntelliJ IDEA 2024.3\bin" -Dfile.encoding=UTF-8 -Dsun.stdout.encoding=UTF-8 -Dsun.stderr.encoding=UTF-8 -classpath D:\maven\apache-maven-3.9.9\boot\plexus-classworlds-2.8.0.jar;D:\maven\apache-maven-3.9.9\boot\plexus-classworlds.license org.codehaus.classworlds.Launcher -Didea.version=2024.3 -s D:\maven\apache-maven-3.9.9\conf\settings.xml install [WARNING] [WARNING] Some problems were encountered while building the effective settings [WARNING] Unrecognised tag: 'profile' (position: START_TAG seen ...<!-- java1.8\u7248\u672c --> \n<profile>... @251:10) @ D:\maven\apache-maven-3.9.9\conf\settings.xml, line 251, column 10 [WARNING] Unrecognised tag: 'profile' (position: START_TAG seen ...<!-- java1.8\u7248\u672c --> \n<profile>... @251:10) @ D:\maven\apache-maven-3.9.9\conf\settings.xml, line 251, column 10 [WARNING] [INFO] Scanning for projects... [INFO] [INFO] ---------------------< com.cx.mall.user:mall-user >--------------------- [INFO] Building mall-user 1.0-SNAPSHOT [INFO] from pom.xml [INFO] --------------------------------[ jar ]--------------------------------- [INFO] [INFO] --- resources:3.3.1:resources (default-resources) @ mall-user --- [INFO] Copying 1 resource from src\main\resources to target\classes [INFO] Copying 0 resource from src\main\resources to target\classes [INFO] [INFO] --- compiler:3.11.0:compile (default-compile) @ mall-user --- Downloading from aliyunmaven: https://maven.aliyun.com/repository/public/org/codehaus/plexus/plexus-component-annotations/1.5.5/plexus-component-annotations-1.5.5.jar Downloaded from aliyunmaven: https://maven.aliyun.com/reposit
03-15
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值