You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pulsar.apache.org by GitBox <gi...@apache.org> on 2020/11/04 07:45:34 UTC

[GitHub] [pulsar] eolivelli commented on issue #8445: Building Pulsar (incl. docker images) from source with Java 9+ (Java 11, Java 15, etc.) causes silent NoSuchMethodErrors at runtime

eolivelli commented on issue #8445:
URL: https://github.com/apache/pulsar/issues/8445#issuecomment-721567949


   @lhotari  
   my efforts about building with JDK14+ are about using JDK14 for development,
   if you build it with JDK>8 you cannot run with JDK8.
   
   We should add maven.compiler.release=8 in our pom.xml, it must be done in a profile activated when you are on jdk9+, it is a quite easy fix.
   
   that's a very common problem:
   java.lang.NoSuchMethodError: java.nio.ByteBuffer.rewind()Ljava/nio/ByteBuffer;


----------------------------------------------------------------
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.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org