Hi, everyone, Everything with my Java code seems all right. However, when I am to deploy SLF4J and Log4J, I have the following run-time exception/warning:
"Multiple SLF4J bindings on the classpath" Well, to get rid of this warning/exception, in *pom.xml *I have arranged the dependencies as follows: <dependencies> <dependency> <groupId>org.simpleframework</groupId> <artifactId>simple-xml</artifactId> <version>2.6</version> <exclusions> <exclusion> <groupId>org.slf4j</groupId> <artifactId>slf4j-log4j12</artifactId> </exclusion> </exclusions> </dependency> <dependency> <groupId>org.apache.geode</groupId> <artifactId>gemfire-core</artifactId> <version>1.0.0-incubating.M1</version> <exclusions> <exclusion> <groupId>org.slf4j</groupId> <artifactId>slf4j-log4j12</artifactId> </exclusion> </exclusions> </dependency> </dependencies> After that, the warning message disappears. On Eclipse, everything seems fine. However, when I am to deploy this code in Ubuntu, no log file is generated -- I also tried different combinations. Any comments on how to solve this case will be appreciated. Thank you in advance. -- With my warm regards, Ali KOYUNCU
