I inherited a project that is not in Maven & has no documentation on dependency set up. I'm getting A LOT of errors related to slf4j.
For example, the _logger.error() call in the following code generates this compile error: "The method error(String, Object, Object) in the type Logger is not applicable for the arguments".
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
//lines ommitted
Logger _logger;
//lines ommitted
_logger.error("getValueList|Error|valueId|{}|date|{}| current|{}|", _valueId, _date,_current);
What slf4j jars do I need to include in my class path to avoid this? Note, I already have all of slf4j 1.7.5 in my classpath & most logging statements compile fine, but others do not. I'm not sure how to fix this.
UPDATE - added extra code for clarity
_loggerhave?Loggertypes. Look at OP's answer for my question. He usesorg.slf4j.Logger.