栏目分类:
子分类:
返回
名师互学网用户登录
快速导航关闭
当前搜索
当前分类
子分类
实用工具
热门搜索
名师互学网 > IT > 软件开发 > 后端开发 > Java

错误信息提示:To see the full stack trace of the errors, re-run Maven with the -e switch.

Java 更新时间: 发布时间: IT归档 最新发布 模块sitemap 名妆网 法律咨询 聚返吧 英语巴士网 伯小乐 网商动力

错误信息提示:To see the full stack trace of the errors, re-run Maven with the -e switch.

错误信息提示: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. 描述:maven打包项目报错 控制台错误信息提示:

The project com.cn:某某系统:1.0-SNAPSHOT (D:路径pom.xml) has 1 error
‘artifactId’ with value ‘某某系统’ does not match a valid id pattern. @ line 8, column 15
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.
For more information about the errors and possible solutions, please read the following articles:
[Help 1] http://cwiki.apache.org/confluence/display/MAVEN/ProjectBuildingException

在网上找了很多相似方法都没有用,还是要回到代码本身。我这里的原因是我新建的一个项目是一个中文名称的项目,所以pom文件的 《“artifactId”某某系统“/artifactId”》这里显示的是中文名称,在这里可能是引起了编码报错。 其实一开始控制台就给我提示了错误信息,如“ @ line 8, column 15” 这里显示出了我的错误是在pom文件第八行的 结论:项目名最好不要用中文命名,遇到此类情况不要过于着急,可以试着从代码本身出发去发现问题

####(希望我的方法对大家有用的

转载请注明:文章转载自 www.mshxw.com
本文地址:https://www.mshxw.com/it/602951.html
我们一直用心在做
关于我们 文章归档 网站地图 联系我们

版权所有 (c)2021-2022 MSHXW.COM

ICP备案号:晋ICP备2021003244-6号