logback: Could not find Janino library on the class path resulting in empty log file

When I started the application, I found that the info.log log file was an empty file with no content in it. After careful investigation, I found that the application had an abnormal message: Could not find Janino library on the class path . A search on the Internet found that the jar package maven
was missing and added: <! -- The org.codehaus.janino:commons-compiler:2.6.1 dependency -->     <!-- will be automatically pulled in by Maven's transitivity rules -->     <dependency>         <groupId>org.codehaus.janino</groupId >         <artifactId>janino</artifactId>         <version>2.6.1</version>     </dependency>








Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=326418588&siteId=291194637