Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

log4j errors when installed as bootstrap's sh #645

Open
catap opened this issue Jan 4, 2022 · 1 comment
Open

log4j errors when installed as bootstrap's sh #645

catap opened this issue Jan 4, 2022 · 1 comment

Comments

@catap
Copy link

catap commented Jan 4, 2022

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

@magnolia-k
Copy link
Contributor

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

2 participants