解决:[ERROR] Error executing Maven. [ERROR] 1 problem was encountered while building the effective set

ゝ一世哀愁。 2021-10-18 13:08 586阅读 0赞

前些天发现了一个巨牛的人工智能学习网站,通俗易懂,风趣幽默,忍不住分享一下给大家。点击跳转到教程。

  1. 报错如下:

    [ERROR] Error executing Maven.
    [ERROR] 1 problem was encountered while building the effective settings
    [FATAL] Non-parseable settings D:\ChengXu\maven\apache-maven-3.5.2\conf\settings.xml: end tag name must match start tag name from line 50 (position: TEXT seen …\n\t\n… @107:12) @ D:\ChengXu\maven\apache-maven-3.5.2\conf\settings.xml, line 107, column 12

20190813172300334.png

  1. 执行 mvn install -Dmaven.test.skip=true 也一直不成功。

  2. 原因: maven 的配置文件 setting.xml 有错。

在配置文件中多了一行: 导致配置文件的格式不正确。

watermark_type_ZmFuZ3poZW5naGVpdGk_shadow_10_text_aHR0cHM6Ly9ibG9nLmNzZG4ubmV0L3UwMTEzMTQ0NDI_size_16_color_FFFFFF_t_70

  1. 去掉多的这一行,保证 setting 文件配置正确,就好了。

发表评论

表情:
评论列表 (有 0 条评论,586人围观)

还没有评论,来说两句吧...

相关阅读