śr., 14 maj 2025 o 23:52 Deborah White
<deborah.wh...@doj.ca.gov.invalid> napisał(a):
> Hello, since updating to Struts 7, I am receiving these errors and have not 
> had a log4j.properties file for years.
> 14:46:37,983 ERROR [stderr] (default task-1) log4j:WARN No appenders could be 
> found for logger (freemarker.cache).
>
> 14:46:37,984 ERROR [stderr] (default task-1) log4j:WARN Please initialize the 
> log4j system properly.
>
> 14:46:37,984 ERROR [stderr] (default task-1) log4j:WARN See 
> http://logging.apache.org/log4j/1.2/faq.html#noconfig for more info.
>
> Does anyone have any ideas?

Please check what version of Freemarker you use, maybe you have some
leftovers from the previous Struts version.

You can also use log4j-slf4j-impl as Freemarker depends on SLF4J
https://github.com/apache/struts/blob/main/apps/showcase/pom.xml#L118-L121

Cheers
Lukasz

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For additional commands, e-mail: user-h...@struts.apache.org

  • Logging Deborah White
    • Re: Logging Lukasz Lenart

Reply via email to