Blub
Blub

Reputation: 13614

java.lang.NoSuchMethodError: sun.security.ssl.SupportedEllipticCurvesExtension

I tried both the latest alpn-boot jars from here: https://mvnrepository.com/artifact/org.mortbay.jetty.alpn/alpn-boot but it makes no difference, they don't even contain that class.

I'm using the Sun JDK.

Where do I find the correct jar?

Upvotes: 2

Views: 6812

Answers (2)

sbordet
sbordet

Reputation: 18477

I'm the maintainer of the alpn-boot jar.

I'm assuming you are using JDK 8.

For each JDK 8 release you must check the corresponding table to see what is the exact version of the alpn-boot jar that you must use.

Whether you are using OpenJDK or Oracle's JDK, it does not matter: so far we have not been reported of any difference between the two with respect to the classes modified by the alpn-boot jar.

As of this writing, JDK 8u121 is in the process of being released, so you have to wait a bit for us to finish the work.

Upvotes: 6

Blub
Blub

Reputation: 13614

Looks like this truly just doesn't work with the Oracle Sun JDK. It works with OpenJDK

Upvotes: 2

Related Questions