SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder".
saria-sarsoura.2014 Mar 21, 2014 4:46 AMHello Friends,
I'm using Eclipse Kepler.
I cloned a project published in https://github.com/jsvitak/jbpm-6-examples
When I tried to Convert it to Maven Project, I obtained this error:
- SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder".
- SLF4J: Defaulting to no-operation (NOP) logger implementation
- SLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for further details.
- [INFO] Scanning for projects...
- [INFO]
- [INFO] ------------------------------------------------------------------------
- [INFO] Building rewards-jsf 6.0.1-SNAPSHOT
- [INFO] ------------------------------------------------------------------------
- [INFO]
- [INFO] >>> jboss-as-maven-plugin:7.4.Final:deploy (default-cli) @ rewards-jsf >>>
- [INFO]
- [INFO] --- maven-resources-plugin:2.5:resources (default-resources) @ rewards-jsf ---
- [debug] execute contextualize
- [INFO] Using 'UTF-8' encoding to copy filtered resources.
- [INFO] Copying 3 resources
- [INFO]
- [INFO] --- maven-compiler-plugin:2.3.2:compile (default-compile) @ rewards-jsf ---
- [INFO] Nothing to compile - all classes are up to date
- [INFO]
- [INFO] --- maven-resources-plugin:2.5:testResources (default-testResources) @ rewards-jsf ---
- [debug] execute contextualize
- [INFO] Using 'UTF-8' encoding to copy filtered resources.
- [INFO] skip non existing resourceDirectory C:\Users\SARSOURA2014\git\jbpm-6-examples\rewards-jsf\src\test\resources
- [INFO]
- [INFO] --- maven-compiler-plugin:2.3.2:testCompile (default-testCompile) @ rewards-jsf ---
- [INFO] No sources to compile
- [INFO]
- [INFO] --- maven-surefire-plugin:2.10:test (default-test) @ rewards-jsf ---
- [INFO] Surefire report directory: C:\Users\SARSOURA2014\git\jbpm-6-examples\rewards-jsf\target\surefire-reports
- -------------------------------------------------------
- T E S T S
- -------------------------------------------------------
- Results :
- Tests run: 0, Failures: 0, Errors: 0, Skipped: 0
- [INFO]
- [INFO] --- maven-war-plugin:2.1.1:war (default-war) @ rewards-jsf ---
- [INFO] Packaging webapp
- [INFO] Assembling webapp [rewards-jsf] in [C:\Users\SARSOURA2014\git\jbpm-6-examples\rewards-jsf\target\rewards-jsf-6.0.1-SNAPSHOT]
- [INFO] Processing war project
- [INFO] Copying webapp resources [C:\Users\SARSOURA2014\git\jbpm-6-examples\rewards-jsf\src\main\webapp]
- [INFO] Webapp assembled in [2970 msecs]
- [INFO] Building war: C:\Users\SARSOURA2014\git\jbpm-6-examples\rewards-jsf\target\rewards-jsf-6.0.1-SNAPSHOT.war
- [WARNING] Warning: selected war files include a WEB-INF/web.xml which will be ignored
- (webxml attribute is missing from war task, or ignoreWebxml attribute is specified as 'true')
- [INFO]
- [INFO] <<< jboss-as-maven-plugin:7.4.Final:deploy (default-cli) @ rewards-jsf <<<
- [INFO]
- [INFO] --- jboss-as-maven-plugin:7.4.Final:deploy (default-cli) @ rewards-jsf ---
- mars 21, 2014 12:35:53 AM org.xnio.Xnio <clinit>
- INFO: XNIO Version 3.0.7.GA
- mars 21, 2014 12:35:53 AM org.xnio.nio.NioXnio <clinit>
- INFO: XNIO NIO Implementation Version 3.0.7.GA
- mars 21, 2014 12:35:53 AM org.jboss.remoting3.EndpointImpl <clinit>
- INFO: JBoss Remoting version 3.2.12.GA
- [INFO] ------------------------------------------------------------------------
- [INFO] BUILD FAILURE
- [INFO] ------------------------------------------------------------------------
- [INFO] Total time: 38.655s
- [INFO] Finished at: Fri Mar 21 00:36:20 CET 2014
- [INFO] Final Memory: 17M/127M
- [INFO] ------------------------------------------------------------------------
- [ERROR] Failed to execute goal org.jboss.as.plugins:jboss-as-maven-plugin:7.4.Final:deploy (default-cli) on project rewards-jsf:Deployment failed and was rolled back. -> [Help 1]
- [ERROR]
- [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
- [ERROR] Re-run Maven using the -X switch to enable full debug logging.
- [ERROR]
- [ERROR] For more information about the errors and possible solutions, please read the following articles:
- [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
Knowing that the file pom.xml is the following:
- <?xml version="1.0" encoding="UTF-8"?>
- <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
- xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
- <modelVersion>4.0.0</modelVersion>
- <parent>
- <groupId>org.jbpm.examples</groupId>
- <artifactId>jbpm-web-examples</artifactId>
- <version>6.0.1-SNAPSHOT</version>
- </parent>
- <artifactId>rewards-jsf</artifactId>
- <packaging>war</packaging>
- <name>rewards-jsf</name>
- <properties>
- <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
- <jboss.bom.version>1.0.7.Final</jboss.bom.version>
- </properties>
- <dependencyManagement>
- <dependencies>
- <dependency>
- <groupId>org.jboss.bom</groupId>
- <artifactId>jboss-javaee-6.0-with-hibernate</artifactId>
- <version>${jboss.bom.version}</version>
- <type>pom</type>
- <scope>import</scope>
- </dependency>
- <dependency>
- <groupId>org.jbpm</groupId>
- <artifactId>jbpm-bom</artifactId>
- <version>${jbpm.version}</version>
- <scope>import</scope>
- <type>pom</type>
- </dependency>
- </dependencies>
- </dependencyManagement>
- <dependencies>
- <!-- Java EE dependencies -->
- <dependency>
- <groupId>org.jboss.spec.javax.ejb</groupId>
- <artifactId>jboss-ejb-api_3.1_spec</artifactId>
- <scope>provided</scope>
- </dependency>
- <dependency>
- <groupId>org.hibernate.javax.persistence</groupId>
- <artifactId>hibernate-jpa-2.0-api</artifactId>
- <scope>provided</scope>
- </dependency>
- <dependency>
- <groupId>javax.transaction</groupId>
- <artifactId>jta</artifactId>
- <version>1.1</version>
- <scope>provided</scope>
- </dependency>
- <dependency>
- <groupId>org.jboss.spec.javax.faces</groupId>
- <artifactId>jboss-jsf-api_2.1_spec</artifactId>
- <scope>provided</scope>
- </dependency>
- <!-- jBPM 6 dependencies -->
- <dependency>
- <groupId>org.kie</groupId>
- <artifactId>kie-api</artifactId>
- </dependency>
- <dependency>
- <groupId>org.jbpm</groupId>
- <artifactId>jbpm-audit</artifactId>
- </dependency>
- <dependency>
- <groupId>org.jbpm</groupId>
- <artifactId>jbpm-bpmn2</artifactId>
- </dependency>
- <dependency>
- <groupId>org.jbpm</groupId>
- <artifactId>jbpm-human-task-core</artifactId>
- </dependency>
- <dependency>
- <groupId>org.jbpm</groupId>
- <artifactId>jbpm-human-task-audit</artifactId>
- </dependency>
- <dependency>
- <groupId>org.jbpm</groupId>
- <artifactId>jbpm-kie-services</artifactId>
- <exclusions>
- <!-- to enable all examples run together on the same app server -->
- <exclusion>
- <groupId>org.jboss.netty</groupId>
- <artifactId>netty</artifactId>
- </exclusion>
- </exclusions>
- </dependency>
- <dependency>
- <groupId>org.jbpm</groupId>
- <artifactId>jbpm-shared-services</artifactId>
- </dependency>
- <dependency>
- <groupId>org.jbpm</groupId>
- <artifactId>jbpm-persistence-jpa</artifactId>
- </dependency>
- <dependency>
- <groupId>org.jbpm</groupId>
- <artifactId>jbpm-runtime-manager</artifactId>
- </dependency>
- <!-- can compile, but cannot deploy without these seam dependencies -->
- <dependency>
- <groupId>org.jboss.seam.persistence</groupId>
- <artifactId>seam-persistence</artifactId>
- <version>3.1.0.Final</version>
- </dependency>
- <dependency>
- <groupId>org.jboss.seam.transaction</groupId>
- <artifactId>seam-transaction</artifactId>
- <version>3.1.0.Final</version>
- </dependency>
- <!-- to enable all examples run together on the same app server -->
- <dependency>
- <groupId>org.jboss.netty</groupId>
- <artifactId>netty</artifactId>
- <version>3.2.5.Final</version>
- <scope>provided</scope>
- </dependency>
- </dependencies>
- <repositories>
- <repository>
- <id>jboss-public-repository-group</id>
- <name>JBoss Public Maven Repository Group</name>
- <url>https://repository.jboss.org/nexus/content/groups/public-jboss/</url>
- <layout>default</layout>
- <releases>
- <enabled>true</enabled>
- <updatePolicy>never</updatePolicy>
- </releases>
- <snapshots>
- <enabled>true</enabled>
- <updatePolicy>daily</updatePolicy>
- </snapshots>
- </repository>
- </repositories>
- <pluginRepositories>
- <pluginRepository>
- <releases>
- <enabled>true</enabled>
- <updatePolicy>never</updatePolicy>
- </releases>
- <snapshots>
- <enabled>false</enabled>
- <updatePolicy>never</updatePolicy>
- </snapshots>
- <id>jboss-public-repository</id>
- <name>JBoss Public</name>
- <url>https://repository.jboss.org/nexus/content/groups/public-jboss/</url>
- </pluginRepository>
- </pluginRepositories>
- <build>
- <plugins>
- <plugin>
- <groupId>org.jboss.as.plugins</groupId>
- <artifactId>jboss-as-maven-plugin</artifactId>
- <version>7.4.Final</version>
- </plugin>
- </plugins>
- </build>
- </project>
Please Help !!!!!!!!!!!!!!!!.
Cordially Greetings.