Recently, due to the integration of spring boot and log4j2 in the company’s project, the project cannot run
Error reporting reason:
Logback configuration error:
Error code:
It is obvious that the logback configuration is wrong
Solution:
Error path: C: \ users \ administrator \ desktop \ log \ error \ log_ error.log Obviously, my current administrator name is admin, and the logback.xml file is in the configuration
Because it is the administrator, it cannot create the log file path. It needs to be changed to: C:// users// admin// desktop// log run again
OK, perfect operation.
Read More:
- java.lang.IllegalStateException Exception: cause analysis and solution
- java.lang.IllegalStateException : unable to read meta data for class
- java.lang.IllegalStateException: Cannot call sendRedirect() after the response has been committed
- Spring boot running appears java.lang.IllegalStateException : Failed to load ApplicationContext
- java.lang.IllegalStateException: Could not execute method for android:onClick
- Caused by: java.lang.IllegalStateException: Ambiguou There is already ‘XXXXXXController‘ bean method
- Android error java.lang.IllegalStateException : System services not available to Activities before onC
- Idea start error: java.lang.IllegalStateException : failed to create a child event loop
- java.lang.IllegalStateException: ArrayAdapter requires the resource ID to be a TextView
- java.lang.IllegalStateException: Unable to find a @SpringBootConfiguration, you need to use @Context
- java.lang.NoSuchMethodError: org.json.JSONObject.put(Java/lang/String; Java/util/Collection;) “209151;”
- Error in idea compilation: java.lang.OutOfMemoryError Java heap space and java.lang.StackOverflowError
- build.gradle Warming: cannot be applied to ‘(groovy.lang.Closure)’/'(java.lang.String)’
- Springboot + mybatis + logback does not print SQL problems on the console
- Cause: java.sql.SQLException: Error setting driver on UnpooledDataSource. Cause: java.lang.ClassNot
- Java:java.lang.OutOfMemoryError : GC overhead limit exceeded solution
- [Solved] Sqoop Mysqltohive error: Error: java.lang.RuntimeException: java.lang.RuntimeException…
- [Solved] Flowable Start Error: ClassCastException: java.time.LocalDateTime cannot be cast to java.lang.String
- java.lang.Error: Unresolved compilation problems
- Initialization of bean failed; nested exception is java.lang.StackOverflowError