Hunor Kovács
Hunor Kovács

Reputation: 1304

Could not find a matching alpn-boot JAR for Java version: 12.0.2

Running sbt run on a Scala, akka-grpc project, based on their basic tutorial I get:

[error] [jetty-alpn-agent] Could not find a matching alpn-boot JAR for Java version: 12.0.2

Is alpn-boot not compatible with Java 12 yet? What is this trying to say? Does it work with Java 11? Can I make it work with 12 making it believe it's Java 11?

[full source code]

Upvotes: 1

Views: 1246

Answers (1)

Joakim Erdfelt
Joakim Erdfelt

Reputation: 49525

There's no alpn-boot requirement for Java 9+

That's because ALPN is built into Java starting in Java 9.

See: https://www.eclipse.org/jetty/documentation/current/alpn-chapter.html#alpn-jdk9

Upvotes: 3

Related Questions