log4j:WARN No appenders could be found for logger (org.springframework.web.context.support.StandardServletEnvironment). log4j:WARN Please initialize the log4j system properly. log4j:WARN See http://logging.apache.org/log4j/1.2/faq.html#noconfig for more info.
WARNING: An illegal reflective access operation has occurred WARNING: Illegal reflective access by org.springframework.cglib.core.ReflectUtils$1 (file:/D:/maven/myrepository-3.5.0/org/springframework/spring-core/4.3.13.RELEASE/spring-core-4.3.13.RELEASE.jar) to method java.lang.ClassLoader.defineClass(java.lang.String,byte[],int,int,java.security.ProtectionDomain) WARNING: Please consider reporting this to the maintainers of org.springframework.cglib.core.ReflectUtils$1 WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations WARNING: All illegal access operations will be denied in a future release 2月 25, 2019 8:55:28 上午 org.apache.catalina.core.StandardService startInternal 信息: Starting service [Tomcat] 2月 25, 2019 8:55:28 上午 org.apache.catalina.core.StandardEngine startInternal 信息: Starting Servlet Engine: Apache Tomcat/8.5.23 2月 25, 2019 8:55:28 上午 org.apache.catalina.core.ApplicationContext log 信息: Initializing Spring embedded WebApplicationContext 2月 25, 2019 8:55:28 上午 org.apache.catalina.core.StandardService stopInternal 信息: Stopping service [Tomcat]
Process finished with exit code 1
解决
首先 No appenders could be found for logger 翻译:没有为logger找到附件。
这个问题很多小伙伴都出现了,造成这种问题的原因很多,所以网上的解决方案也五花八门,这里我提供一个解决方法,供大家参考。我是在看视频学习springboot,照着敲的时候出现的这个问题,我不知道为什么视频上没事,反正我是出现了。 log4j:WARN No appenders could be found for logger (org.springframework.web.cont...