Better error reporting and slf4j version build error fix.