You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@logging.apache.org by "Gary D. Gregory (Jira)" <ji...@apache.org> on 2022/01/16 19:12:00 UTC

[jira] [Closed] (LOG4J2-3205) OutputStreamManager.flushBuffer throw NoSuchMethodError ByteBuffer.clear

     [ https://issues.apache.org/jira/browse/LOG4J2-3205?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Gary D. Gregory closed LOG4J2-3205.
-----------------------------------
    Resolution: Not A Bug

Closing as not a bug.

> 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
>            Priority: Major
>         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)