giter8
giter8 copied to clipboard
log4j errors when installed as bootstrap's sh
steps
Giter8 version: giter8-bootstrap_2.12-0.13.1.sh
from https://repo1.maven.org/maven2/org/foundweekends/giter8/giter8-bootstrap_2.12/0.13.1/
problem
An attempt to use it produces unexpected ERROR logs:
√ vault % g8 UdashFramework/udash.g8
log4j:ERROR A "org.apache.log4j.ConsoleAppender" object is not assignable to a "org.apache.log4j.Appender" variable.
log4j:ERROR The class "org.apache.log4j.Appender" was loaded by
log4j:ERROR [java.net.URLClassLoader@25641d39] whereas object of type
log4j:ERROR "org.apache.log4j.ConsoleAppender" was loaded by [java.net.URLClassLoader@5b480cf9].
log4j:ERROR Could not instantiate appender named "stderr".
name [My Udash Application]:
expectation
Should work without ERROR
This error does not occur when installing using Coursier.
Coursier's Giter8 configuration file specifies org.slf4j:slf4j-nop, but there is no opportunity to install this in the shell for bootstrap
https://github.com/coursier/apps/blob/master/apps/resources/giter8.json