![](https://img-blog.csdnimg.cn/20201014180756922.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
maven
祺简
学习记录、项目问题记录
展开
-
maven--TestEngine with ID ‘junit-vintage‘ failed to discover tests
报错:org.junit.platform.commons.JUnitException:TestEngine with ID ‘junit-vintage’ failed to discover tests看到这种报错,就可以直接看coused by后面的Caused by: org.junit.platform.commons.JUnitException: Unsupported version of junit:junit:4.11. Please upgrade toversion 4.12原创 2021-12-21 14:39:21 · 3858 阅读 · 0 评论 -
maven--Error executing Maven. 2 problems were encountered while building the effective settings
报错如下:解决方案:我的setting.xml文件中有很多被注释掉的代码,但是父标签没有被注释,注释掉之后再次启动就可以了,至于为什么突然报一次这个错误也不知道因为什么。在没有解决的时候,在网上找到了好几种解决办法,一一列举;第一种:https://blog.csdn.net/xie_yu1/article/details/105585196在你的maven——>comf ——>配置文件中修改settings.xml检查每个标签是否有开头和结束标签<!--配置中央仓库的镜原创 2021-06-12 23:11:49 · 6458 阅读 · 0 评论 -
maven--Element ‘resource‘ cannot have character [children], because the type‘s content type is eleme
报错如下:报错原因:有非法字符出现,如:空格、注释错误我在这里就是犯了注释错误,从记事本复制到编辑器上的时候没有检查注释修改:将注释写在中原创 2021-06-12 22:55:07 · 291 阅读 · 0 评论