0 Replies Latest reply on Mar 21, 2014 4:46 AM by Saria ESSID

    SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder".

    Saria ESSID Novice

      Hello  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:

       

      1. SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder".
      2. SLF4J: Defaulting to no-operation (NOP) logger implementation
      3. SLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for further details.
      4. [INFO] Scanning for projects...
      5. [INFO]                                                                      
      6. [INFO] ------------------------------------------------------------------------
      7. [INFO] Building rewards-jsf 6.0.1-SNAPSHOT
      8. [INFO] ------------------------------------------------------------------------
      9. [INFO]
      10. [INFO] >>> jboss-as-maven-plugin:7.4.Final:deploy (default-cli) @ rewards-jsf >>>
      11. [INFO]
      12. [INFO] --- maven-resources-plugin:2.5:resources (default-resources) @ rewards-jsf ---
      13. [debug] execute contextualize
      14. [INFO] Using 'UTF-8' encoding to copy filtered resources.
      15. [INFO] Copying 3 resources
      16. [INFO]
      17. [INFO] --- maven-compiler-plugin:2.3.2:compile (default-compile) @ rewards-jsf ---
      18. [INFO] Nothing to compile - all classes are up to date
      19. [INFO]
      20. [INFO] --- maven-resources-plugin:2.5:testResources (default-testResources) @ rewards-jsf ---
      21. [debug] execute contextualize
      22. [INFO] Using 'UTF-8' encoding to copy filtered resources.
      23. [INFO] skip non existing resourceDirectory C:\Users\SARSOURA2014\git\jbpm-6-examples\rewards-jsf\src\test\resources
      24. [INFO]
      25. [INFO] --- maven-compiler-plugin:2.3.2:testCompile (default-testCompile) @ rewards-jsf ---
      26. [INFO] No sources to compile
      27. [INFO]
      28. [INFO] --- maven-surefire-plugin:2.10:test (default-test) @ rewards-jsf ---
      29. [INFO] Surefire report directory: C:\Users\SARSOURA2014\git\jbpm-6-examples\rewards-jsf\target\surefire-reports
      30. -------------------------------------------------------
      31. T E S T S
      32. -------------------------------------------------------
      33. Results :
      34. Tests run: 0, Failures: 0, Errors: 0, Skipped: 0
      35. [INFO]
      36. [INFO] --- maven-war-plugin:2.1.1:war (default-war) @ rewards-jsf ---
      37. [INFO] Packaging webapp
      38. [INFO] Assembling webapp [rewards-jsf] in [C:\Users\SARSOURA2014\git\jbpm-6-examples\rewards-jsf\target\rewards-jsf-6.0.1-SNAPSHOT]
      39. [INFO] Processing war project
      40. [INFO] Copying webapp resources [C:\Users\SARSOURA2014\git\jbpm-6-examples\rewards-jsf\src\main\webapp]
      41. [INFO] Webapp assembled in [2970 msecs]
      42. [INFO] Building war: C:\Users\SARSOURA2014\git\jbpm-6-examples\rewards-jsf\target\rewards-jsf-6.0.1-SNAPSHOT.war
      43. [WARNING] Warning: selected war files include a WEB-INF/web.xml which will be ignored
      44. (webxml attribute is missing from war task, or ignoreWebxml attribute is specified as 'true')
      45. [INFO]
      46. [INFO] <<< jboss-as-maven-plugin:7.4.Final:deploy (default-cli) @ rewards-jsf <<<
      47. [INFO]
      48. [INFO] --- jboss-as-maven-plugin:7.4.Final:deploy (default-cli) @ rewards-jsf ---
      49. mars 21, 2014 12:35:53 AM org.xnio.Xnio <clinit>
      50. INFO: XNIO Version 3.0.7.GA
      51. mars 21, 2014 12:35:53 AM org.xnio.nio.NioXnio <clinit>
      52. INFO: XNIO NIO Implementation Version 3.0.7.GA
      53. mars 21, 2014 12:35:53 AM org.jboss.remoting3.EndpointImpl <clinit>
      54. INFO: JBoss Remoting version 3.2.12.GA
      55. [INFO] ------------------------------------------------------------------------
      56. [INFO] BUILD FAILURE
      57. [INFO] ------------------------------------------------------------------------
      58. [INFO] Total time: 38.655s
      59. [INFO] Finished at: Fri Mar 21 00:36:20 CET 2014
      60. [INFO] Final Memory: 17M/127M
      61. [INFO] ------------------------------------------------------------------------
      62. [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]
      63. [ERROR]
      64. [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
      65. [ERROR] Re-run Maven using the -X switch to enable full debug logging.
      66. [ERROR]
      67. [ERROR] For more information about the errors and possible solutions, please read the following articles:
      68. [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException

      Knowing that the file pom.xml  is the following:

      1. <?xml version="1.0" encoding="UTF-8"?>
      2. <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
      3.          xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
      4.   <modelVersion>4.0.0</modelVersion>
      5.   <parent>
      6.     <groupId>org.jbpm.examples</groupId>
      7.     <artifactId>jbpm-web-examples</artifactId>
      8.     <version>6.0.1-SNAPSHOT</version>
      9.   </parent>
      10.   <artifactId>rewards-jsf</artifactId>
      11.   <packaging>war</packaging>
      12.   <name>rewards-jsf</name>
      13.   <properties>
      14.     <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
      15.     <jboss.bom.version>1.0.7.Final</jboss.bom.version>
      16.   </properties>
      17.   <dependencyManagement>
      18.     <dependencies>
      19.       <dependency>
      20.         <groupId>org.jboss.bom</groupId>
      21.         <artifactId>jboss-javaee-6.0-with-hibernate</artifactId>
      22.         <version>${jboss.bom.version}</version>
      23.         <type>pom</type>
      24.         <scope>import</scope>
      25.       </dependency>
      26.       <dependency>
      27.         <groupId>org.jbpm</groupId>
      28.         <artifactId>jbpm-bom</artifactId>
      29.         <version>${jbpm.version}</version>
      30.         <scope>import</scope>
      31.         <type>pom</type>
      32.       </dependency>
      33.     </dependencies>
      34.   </dependencyManagement>
      35.   <dependencies>
      36.     <!-- Java EE dependencies -->
      37.     <dependency>
      38.       <groupId>org.jboss.spec.javax.ejb</groupId>
      39.       <artifactId>jboss-ejb-api_3.1_spec</artifactId>
      40.       <scope>provided</scope>
      41.     </dependency>
      42.     <dependency>
      43.       <groupId>org.hibernate.javax.persistence</groupId>
      44.       <artifactId>hibernate-jpa-2.0-api</artifactId>
      45.       <scope>provided</scope>
      46.     </dependency>
      47.     <dependency>
      48.       <groupId>javax.transaction</groupId>
      49.       <artifactId>jta</artifactId>
      50.       <version>1.1</version>
      51.       <scope>provided</scope>
      52.     </dependency>
      53.     <dependency>
      54.       <groupId>org.jboss.spec.javax.faces</groupId>
      55.       <artifactId>jboss-jsf-api_2.1_spec</artifactId>
      56.       <scope>provided</scope>
      57.     </dependency>
      58.     <!-- jBPM 6 dependencies -->
      59.     <dependency>
      60.       <groupId>org.kie</groupId>
      61.       <artifactId>kie-api</artifactId>
      62.     </dependency>
      63.     <dependency>
      64.       <groupId>org.jbpm</groupId>
      65.       <artifactId>jbpm-audit</artifactId>
      66.     </dependency>
      67.     <dependency>
      68.       <groupId>org.jbpm</groupId>
      69.       <artifactId>jbpm-bpmn2</artifactId>
      70.     </dependency>
      71.     <dependency>
      72.       <groupId>org.jbpm</groupId>
      73.       <artifactId>jbpm-human-task-core</artifactId>
      74.     </dependency>
      75.     <dependency>
      76.       <groupId>org.jbpm</groupId>
      77.       <artifactId>jbpm-human-task-audit</artifactId>
      78.     </dependency>
      79.     <dependency>
      80.       <groupId>org.jbpm</groupId>
      81.       <artifactId>jbpm-kie-services</artifactId>
      82.       <exclusions>
      83.         <!-- to enable all examples run together on the same app server -->
      84.         <exclusion>
      85.           <groupId>org.jboss.netty</groupId>
      86.           <artifactId>netty</artifactId>
      87.         </exclusion>
      88.       </exclusions>
      89.     </dependency>
      90.     <dependency>
      91.       <groupId>org.jbpm</groupId>
      92.       <artifactId>jbpm-shared-services</artifactId>
      93.     </dependency>
      94.     <dependency>
      95.       <groupId>org.jbpm</groupId>
      96.       <artifactId>jbpm-persistence-jpa</artifactId>
      97.     </dependency>
      98.     <dependency>
      99.       <groupId>org.jbpm</groupId>
      100.       <artifactId>jbpm-runtime-manager</artifactId>
      101.     </dependency>
      102.     <!-- can compile, but cannot deploy without these seam dependencies -->
      103.     <dependency>
      104.       <groupId>org.jboss.seam.persistence</groupId>
      105.       <artifactId>seam-persistence</artifactId>
      106.       <version>3.1.0.Final</version>
      107.     </dependency>
      108.     <dependency>
      109.       <groupId>org.jboss.seam.transaction</groupId>
      110.       <artifactId>seam-transaction</artifactId>
      111.       <version>3.1.0.Final</version>
      112.     </dependency>
      113.     <!-- to enable all examples run together on the same app server -->
      114.     <dependency>
      115.        <groupId>org.jboss.netty</groupId>
      116.        <artifactId>netty</artifactId>
      117.        <version>3.2.5.Final</version>
      118.        <scope>provided</scope>
      119.     </dependency>
      120.   </dependencies>
      121.   <repositories>
      122.     <repository>
      123.       <id>jboss-public-repository-group</id>
      124.       <name>JBoss Public Maven Repository Group</name>
      125.       <url>https://repository.jboss.org/nexus/content/groups/public-jboss/</url>
      126.       <layout>default</layout>
      127.       <releases>
      128.         <enabled>true</enabled>
      129.         <updatePolicy>never</updatePolicy>
      130.       </releases>
      131.       <snapshots>
      132.         <enabled>true</enabled>
      133.         <updatePolicy>daily</updatePolicy>
      134.       </snapshots>
      135.     </repository>
      136.   </repositories>
      137.   <pluginRepositories>
      138.     <pluginRepository>
      139.       <releases>
      140.         <enabled>true</enabled>
      141.         <updatePolicy>never</updatePolicy>
      142.       </releases>
      143.       <snapshots>
      144.         <enabled>false</enabled>
      145.         <updatePolicy>never</updatePolicy>
      146.       </snapshots>
      147.       <id>jboss-public-repository</id>
      148.       <name>JBoss Public</name>
      149.       <url>https://repository.jboss.org/nexus/content/groups/public-jboss/</url>
      150.     </pluginRepository>
      151.   </pluginRepositories>
      152.   <build>
      153.     <plugins>
      154.       <plugin>
      155.         <groupId>org.jboss.as.plugins</groupId>
      156.         <artifactId>jboss-as-maven-plugin</artifactId>
      157.         <version>7.4.Final</version>
      158.       </plugin>
      159.     </plugins>
      160.   </build>
      161. </project>

       

      Please Help !!!!!!!!!!!!!!!!.

       

       

       

       

       

      Cordially Greetings.