I have exclude log4j dependancy in my maven project and insert org.ops4j.pax.logging reference.
<dependency> <groupId>org.ops4j.pax.logging</groupId> <artifactId>pax-logging-api</artifactId> <version>1.7.2</version> </dependency> <dependency> <groupId>org.ops4j.pax.logging</groupId> <artifactId>pax-logging-service</artifactId> <version>1.7.2</version> </dependency> I see that the org.apache.log4j.Logger is not the same than the class in log4j dependancy ( missing removeAllAppenders / missing setLevel / ... ) that my project used. -- View this message in context: http://karaf.922171.n3.nabble.com/NoClassDefFoundError-org-apache-log4j-Layout-tp4033773p4033776.html Sent from the Karaf - User mailing list archive at Nabble.com.