Giter Site home page Giter Site logo

citrus-tool's Issues

better error message

When in non-interactive mode, display more information when configuration fails. for example, telling me the missing configuration item name instead of saying "配置文件没有准备好"。

dest 缺失

跑了下petstore, 执行autoconfig命令,报错

[ERROR] Failed to execute goal com.alibaba.citrus.tool:autoconfig-maven-plugin:1.2:autoconfig (default-cli) on project petstore-web: The parameters 'dest' for goal com.alibaba.citrus.tool:autoconfig-maven-plugin:1.2:autoconfig are missing or invalid -> [Help 1]

maven 3.1.0 无法使用 autoconfig-maven-plugin

如果使用 maven 3.1.0 的时候, autoconfig-maven-plugin 1.1 将无法使用。

原因是 LogConfigurator 默认提供 logback 和 log4j 的 log。

但在 maven 3.1.0 中,里面会有这么一个jar:
jar:file:/usr/local/alibaba/maven/lib/slf4j-simple-1.7.4.jar!/org/slf4j/impl/SimpleLoggerFactory.class

导致无法使用。

SLF4J Warning: Class path contains multiple SLF4J bindings.

使用autoconfig的_maven_插件时,报_SLF4J multiple bindings_警告。

插件版本:

<groupId>com.alibaba.citrus.tool</groupId>
<artifactId>autoconfig-maven-plugin</artifactId>
<version>1.2</version>

警告信息如下:

SLF4J: Class path contains multiple SLF4J bindings.
SLF4J: Found binding in [jar:file:/Users/tianxiao/Dev/m2_repo/com/alibaba/citrus/tool/antx-autoconfig/1.2/antx-autoconfig-1.2.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: Found binding in [jar:file:/Users/tianxiao/Dev/m2_repo/com/alibaba/citrus/tool/antx-autoexpand/1.2/antx-autoexpand-1.2.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: See http://www.slf4j.org/codes.html#multiple_bindings for an explanation.

从警告信息中可以看出,是antx-autoconfig-1.2.jarantx-autoexpand-1.2.jar这两个jar同时包含了StaticLoggerBinder这个类导致的。

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.