Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

If jdk8 version > 8u252, does it still need to add Jetty's ALPN JAR dependency? #81

Closed
FJEagle opened this issue Feb 22, 2021 · 3 comments

Comments

@FJEagle
Copy link

FJEagle commented Feb 22, 2021

According to the post: https://webtide.com/jetty-alpn-java-8u252/, jdk8 (>8u252) has backported the ALPN API from java 9.

My project is using jdk1.8.281.

But I still get the error log: ALPN callback dropped: SPDY and HTTP/2 are disabled. Is alpn-boot on the boot class path?

If jdk8 version > 8u252, does it still need to add Jetty's ALPN JAR dependency to use this libarary? thanks.

@FJEagle
Copy link
Author

FJEagle commented Feb 22, 2021

According to https://github.com/jetty-project/jetty-alpn,
if jdk8 version > 8u252, I must NOT add the Jetty ALPN boot jar.

So, if jdk8 version > 8u252, this library still need to add Jetty's ALPN JAR dependency, what is the right way to add the alpn api dependecy?

@apolds
Copy link

apolds commented May 19, 2021

See #73

@FJEagle
Copy link
Author

FJEagle commented Jul 22, 2021

See #73

Thanks, I have tried the build from your fork, and it seems all work well.

@FJEagle FJEagle closed this as completed Jul 22, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants