dingjsh created LOG4J2-3205: ------------------------------- Summary: OutputStreamManager.flushBuffer throw NoSuchMethodError ByteBuffer.clear Key: LOG4J2-3205 URL: https://issues.apache.org/jira/browse/LOG4J2-3205 Project: Log4j 2 Issue Type: Bug Components: Core Reporter: dingjsh Attachments: image-2021-12-10-20-52-45-490.png, image-2021-12-10-20-53-34-503.png, image-2021-12-10-20-54-02-134.png
Using mvn with jdk9, the compiled sources would throw NoSuchMethodError ByteBuffer.clear when running in a jdk1.8 env. if change the pom.xml, using <maven.compiler.release>8</maven.compiler.release> instead of the orginal maven.compiler.source and maven.compiler.target,it would solve the problem. !image-2021-12-10-20-52-45-490.png! !image-2021-12-10-20-53-34-503.png! !image-2021-12-10-20-54-02-134.png! -- This message was sent by Atlassian Jira (v8.20.1#820001)