-
Notifications
You must be signed in to change notification settings - Fork 1.9k
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
In OSGi + H2 environment java service HpackFieldPreEncoder can't load from org.eclipse.jetty.http #262
Comments
I had the same issue and after some digging, I found out that it is because HpackFieldPreEncoder is not included in META-INF/services. And the solution is to add to maven-shade-plugin's config. |
hi @janbartel, can you help me at this issue? i try to add Capability header by osgi syntax direct to MANIFEST.MF file of org.eclipse.jetty.http and org.eclipse.jetty.http2.hpack spi fly syntax is more easy, so i try to use it, i got success. add bellow header to org.eclipse.jetty.http class PreEncodedHttpField change bellow line to
|
Changing the ServiceLoader to use the Thread local classloader isn't correct, it would need to use the same classloader that that interface ( |
Some background on OSGi + ServiceLoader + 2 param version of .load() method http://blog.osgi.org/2013/02/javautilserviceloader-in-osgi.html |
seem spi fly just work with ServiceLoader.load (Class) so we can change this line to
|
update jetty to 9.3.10 work-around for: jetty/jetty.project#262 jetty/jetty.project#704
See Issue #705 for the general solution to this class of issue. |
resolved on #1290 |
migrated from Bugzilla #483324
status NEW severity blocker in component http2 for 9.3.x
Reported in version 9.3.6 on platform PC
Assigned to: Simone Bordet
On 2015-11-30 12:51:47 -0500, hiep lq wrote:
The text was updated successfully, but these errors were encountered: