The freemarker dependency package is introduced into the project. However, the red warning caused by the corresponding log level is not configured in the log4j.properties file. as follows:
< dependency >
< groupId > org.springframework.boot </ groupId >
< artifactId > spring-boot-starter-freemarker </ artifactId >
</ dependency >
log4j :WARN No appenders could be found for logger (freemarker.cache).
log4j :WARN Please initialize the log4j system properly.
log4j : WARN See HTTP : //logging.apache.org/log4j/1.2/faq.html#noconfig for More info.
Solution: log4j.properties plus the corresponding configuration
log4j.logger.freemarker.cache =ERROR
log4j.logger.freemarker.beans =ERROR
Read More:
- [Solved] Junit.test use error: log4j:WARN No appenders could be found for logger
- log4j Error: Please initialize the log4j system properly [How to Solve]
- [Solved] Spark Error: ERROR StatusLogger No log4j2 configuration file found
- [Solved] Kafka Start Log Error: WARN Found a corrupted index file due to requirement failed: Corrupt index found
- [Solved] Maven log jar package conflict error: Class path contains multiple SLF4J bindings
- Log4j2 reports ERROR StatusLogger Unrecognized format specifier
- Log jar package conflict error: Class path contains multiple SLF4J bindings
- Cache penetration, cache breakdown and cache avalanche solutions
- [Gradle is Stucked in Building Runing] log Error: Timeout waiting to lock journal cache
- [Solved] Arm Server kibana7.4.1 Error: Sending Logstash logs to /home/logstash-6.8.4/logs which is now configured via log4j2.properties
- [neo4j] error report when visiting neo4j in spring boot project
- IDEA reports an error. Error XXX reports an error. The class cannot be found
- [Solved] Bringing up interface eth0: Error: No suitable device found: no device found for connection ‘System eth0’.
- Gradle Package Project Lombok Not Working: No serializer found for class com.qbb.User and no properties discovered to create BeanSerializer……
- [Solved] Neo4j error: Import-Module & neo4j Neo.ClientError.Security.Unauthorized
- [Solved] springmvc:Error creating bean with name ‘org.springframework.cache.interceptor.CacheInterceptor
- [Solved] Neo4j Error: Error occurred during initialization of VM Incompatible minimum and maximum heap sizes spec
- MAC-XXL_JOB Error: Failed to create parent directories for [/data/applogs/xxl-job/xxl-job-admin.log
- [Solved] sparkSQL Error: WARN TaskMemoryManager: Failed to allocate a page (bytes), try again.
- jitpack.io ERROR: No build artifacts found [How to Solve]