当我尝试在Maven 3.0.4中使用org.richfaces.cdk.maven-resource-dependecy-plugin版本3.3.3.Final(或3.3.4.Final)时出现此错误:

SLF4J:slf4j绑定所请求的版本1.6.99与[1.5.5,1.5.6,1.5.7,1.5.8,1.5.9,1.5.10] SLF4J不兼容:请参阅http:// www .slf4j.org / codes.html#version_mismatch了解更多详情 . ... [错误]无法执行目标org.richfaces.cdk:maven-resource-dependency-plugin:3.3.4.Final:项目myproject-web上的assembly-resources(默认):目标org.richfaces的执行默认值 . cdk:maven-resource-dependency-plugin:3.3.4.Final:assembly-resources failed:执行org.richfaces.cdk时遇到API不兼容:maven-resource-dependency-plugin:3.3.4.Final:assembly- resources:java.lang.AbstractMethodError:org.slf4j.impl.Log4jLoggerAdapter.log(Lorg / slf4j / Marker; Ljava / lang / String; ILjava / lang / String; Ljava / lang / Throwable;)V

检查pom的依赖关系层次结构仅显示版本1.7.2和1.7.5中的slf4j jar .

谢谢

编辑(插件配置):

<plugin>
                    <groupId>org.richfaces.cdk</groupId>
                    <artifactId>maven-resource-dependency-plugin</artifactId>
                    <version>3.3.4.Final</version>
                    <configuration>
                        <webSourceDirectory>${basedir}/src/main/webapp</webSourceDirectory>
                        <scriptFilePath>custom-dependencies.js</scriptFilePath>
                        <styleFilePath>custom-dependencies.xcss</styleFilePath>
                        <afterScriptIncludes>
                            <afterScriptInclude>js/jquery-1.6.1.min.js</afterScriptInclude>
                            <afterScriptInclude>js/jquery-ui-1.8.21.custom.min.js</afterScriptInclude>
                            <afterScriptInclude>js/jquery.blockUI.min.js</afterScriptInclude>
                            <afterScriptInclude>js/jquery.maskedinput-1.3.min.js</afterScriptInclude>
                            <afterScriptInclude>js/uniqaCommonScript.js</afterScriptInclude>
                            <afterScriptInclude>js/datepicker.js</afterScriptInclude>
                            <afterScriptInclude>js/svp.js</afterScriptInclude>
                        </afterScriptIncludes>
                    </configuration>
                    <executions>
                        <execution>
                            <phase>process-resources</phase>
                            <goals>
                                <goal>assembly-resources</goal>
                            </goals>
                        </execution>
                    </executions>
                </plugin>