A Lightweight, Google Guice, Simple, and Powerful Web Application Framework that makes building modern Web Application a breeze! Fully open source, Apache V2 licensed.
The problem, is that if there is no src/main/resources/log4j.properties in the source, then, we do not see the error on snow. In this case, Snow cannot start because it requires to have @Singleton on any class that have @Web... methods, but because the developer does not see the error, it is very hard to find out why.
Proposed solution
We need to find a way that even of the log4j.properties has not be configured but the slf4j-log4j12 is present, we still log those errors to the console.
Step to reproduce
slf4j-log4j12
in the pom.xmlActual result
The problem, is that if there is no
src/main/resources/log4j.properties
in the source, then, we do not see the error on snow. In this case, Snow cannot start because it requires to have @Singleton on any class that have @Web... methods, but because the developer does not see the error, it is very hard to find out why.Proposed solution
We need to find a way that even of the log4j.properties has not be configured but the
slf4j-log4j12
is present, we still log those errors to the console.