hf200012 opened a new issue #8033: URL: https://github.com/apache/incubator-doris/issues/8033
### Search before asking - [X] I had searched in the [issues](https://github.com/apache/incubator-doris/issues?q=is%3Aissue) and found no similar issues. ### Version 0.14+ ### What's Wrong? Doris reported the following error at startup: java.lang.NoSuchMethodError: java.nio.ByteBuffer.limit(I)Ljava/nio/ByteBuffer; at org.apache.doris.mysql.MysqlChannel.sendOnePacket(MysqlChannel.java:259) ~[palo-fe.jar:0.15-SNAPSHOT] at org.apache.doris.mysql.MysqlChannel.sendAndFlush(MysqlChannel.java:265) ~[palo-fe.jar:0.15-SNAPSHOT] at org.apache.doris.mysql.MysqlProto.negotiate(MysqlProto.java:169) ~[palo-fe.jar:0.15-SNAPSHOT] at org.apache.doris.mysql.nio.AcceptListener.lambda$handleEvent$1(AcceptListener.java:64) ~[palo-fe.jar:0.15-SNAPSHOT] at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) [?:1.8.0_131] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) [?:1.8.0_131] at java.lang.Thread.run(Thread.java:748) [?:1.8.0_131] ### What You Expected? This error is caused by compiling in the Docker environment. The default in Docker is JDK 11, and the installation and running is JDK 8. The versions of java compilation and running environment are inconsistent. This should give the user a clear prompt, telling him that the JDK version is inconsistent ### How to Reproduce? _No response_ ### Anything Else? _No response_ ### Are you willing to submit PR? - [X] Yes I am willing to submit a PR! ### Code of Conduct - [X] I agree to follow this project's [Code of Conduct](https://www.apache.org/foundation/policies/conduct) -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org For additional commands, e-mail: commits-h...@doris.apache.org