zoukankan      html  css  js  c++  java
  • ERROR

    今天发现了一个BUG,在引用其他的包的的时候报错:

    ERROR - Undefined placeholders found in template:
    - Template:   META-INF/autoconf/xxx.xml
    - Descriptor: META-INF/autoconf/xxx.xml
    - Base URL:   jar:jar:file:/Users/liqiu/git/fmp/service/target/xxx.war!/WEB-INF/lib/123456.jar!/
    ---------------------------------------------------------------
    -> undifined_version
    ---------------------------------------------------------------
    <jar:file:/Users/liqiu/git/fmp/service/target/xxx.war!/>
        Generating log file: META-INF/autoconf/auto-config.xml.log
    
    ERROR: undefined placeholders
    [INFO] ------------------------------------------------------------------------
    [ERROR] BUILD ERROR
    [INFO] ------------------------------------------------------------------------
    [INFO] Autoconfig failed

    1、这个时候,发现123456.jar是外部载入的包,需要解压这个包

    jar -xvf 123456.jar

    2、然后查看文件:autoconf/xxx.xml,会发现确实存在这些变量没有被定义:${undifined_version}

    3、在如下文件内添加这个变量

    antx.properties、auto-config.xml

  • 相关阅读:
    [LUOGU] P3275 [SCOI2011]糖果
    [BZOJ] 2287: 【POJ Challenge】消失之物
    [BZOJ] 2131: 免费的馅饼
    [JZOJ] 5835. Prime
    [JZOJ] 5837.Omeed
    UF_CAMGEOM_ask_custom_points 封装缺陷
    NX Open 切削层加载
    NX Open 图层说
    c++ Dll调用
    VC操作Excel文件编程相关内容总结
  • 原文地址:https://www.cnblogs.com/liqiu/p/3543152.html
Copyright © 2011-2022 走看看