pjfanning opened a new issue, #1066:
URL: https://github.com/apache/incubator-pekko/issues/1066

   https://github.com/apache/incubator-pekko-connectors/pull/412
   
   Needs investigation before we can release 1.1.0-M1
   
   We are getting NoSuchMethodErrors on some of the pekko utils classes like 
OptionConverter and FutureConverter.
   
   It could be that we need to rewrite our pekko-connector test builds - to 
compile with pekko 1.0 but then to test with pekko 1.1.
   
   ```
   [error] Test docs.javadsl.SnsPublisherTest failed: 
java.lang.NoSuchMethodError: 
org.apache.pekko.util.FutureConverters$FutureOps$.asJava$extension(Lscala/concurrent/Future;)Ljava/util/concurrent/CompletionStage;,
 took 0.0 sec
   [error]     at 
org.apache.pekko.http.javadsl.Http.shutdownAllConnectionPools(Http.scala:798)
   [error]     at 
docs.javadsl.SnsPublisherTest.tearDownAfterClass(SnsPublisherTest.java:71)
   ```
   
   ```
   [error] Test docs.javadsl.OpensearchV1Test failed: 
java.lang.NoSuchMethodError: 'java.util.concurrent.CompletionStage 
org.apache.pekko.util.FutureConverters$FutureOps$.asJava$extension(scala.concurrent.Future)',
 took 0.0 sec
   [error]     at 
org.apache.pekko.http.javadsl.Http.singleRequest(Http.scala:643)
   ```
   
   Issue seems to happen with Scala 3.3 testing but not with Scala 2.12 or 2.13 
testing.
   
   This is a command that fails in incubator-pekko-connectors (don't forget to 
use docker-compose to start all the necessary containers for this connector). 
   ```
   sbt -Dpekko.build.pekko.version=main "++3.3.1 elasticsearch/test"
   ```
   
   Seems like pekko-http jars built for Scala 3 with Pekko 1.0 jars do not work 
Pekko 1.1 jars at runtime.
   
   


-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to