0 0

maven-autoconfig-plugin 报 no log system5

报异常了,异常如下:
[ERROR] Failed to execute goal com.alibaba.citrus.tool:maven-autoconfig-plugin:1.0.10:autoconfig (default) on project guahao-portal-web-war: Execution default of goal com.alibaba.citrus.tool:maven-autoconfig-plugin:1.0.10:autoconfig failed: No log system exists -> [Help 1]
org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal com.alibaba.citrus.tool:maven-autoconfig-plugin:1.0.10:autoconfig (default) on project guahao-portal-web-war: Execution default of goal com.alibaba.citrus.tool:maven-autoconfig-plugin:1.0.10:autoconfig failed: No log system exists



我的maven插件配置如下:
<build>
        <plugins>
            <plugin>
                <groupId>com.alibaba.citrus.tool</groupId>
                <artifactId>maven-autoconfig-plugin</artifactId>
                <version>${autoconfig-plugin-version}</version>
                <configuration>
                    <!-- 要进行AutoConfig的目标文件,默认为${project.artifact.file}。 
                    <dest>${project.artifact.file}</dest>
                    -->
                    <!-- 配置后,是否展开目标文件,默认为false,不展开。 
                    <exploding>true</exploding>
                    -->
                    <!-- 展开到指定目录,默认为${project.build.directory}/${project.build.finalName}。 
                    <explodedDirectory>
                        ${project.build.directory}/${project.build.finalName}
                    </explodedDirectory>
                    -->
                </configuration>
                <executions>
                    <execution>
                        <phase>package</phase>
                        <goals>
                            <goal>autoconfig</goal>
                        </goals>
                    </execution>
                </executions>
            </plugin>
        </plugins>
    </build>



这个异常不知道如何解决,在pom.xml中加上日志系统的依赖还是不行,这个难住我了,项目开发好了,只剩这个打包的问题,本地使用Eclipse jetty插件启动没问题,通过autoconfig插件一打包就报错。
打包命令如下:
mvn -e clean package -Dmaven.test.skip=true -Dautoconfig.userProperties=F:/我的文件/antx.properties

问题补充:从git上下来了utoconfig项目的源码,放在项目中跑就没有上面的问题了使用的是1.2的版本,之前是1.0.10
2014年7月28日 13:39

1个答案 按时间排序 按投票排序

0 0

请问楼主这个问题怎么解决的啊?

2015年1月05日 15:05

相关推荐

Global site tag (gtag.js) - Google Analytics