Cannot install Hibernate feature into Karaf 4.0.7

Description

When installing fresh hibernate:

Karaf-console

results in error

Error

Activity

Show:

Steve Higham January 2, 2017 at 9:14 PM

Thanks - I was just trying to install Hibernate and realised that recent versions failed with a ByteBuddy error. I added the dependency in and it worked fine. However I did notice that javassist and cglib were still dependencies as well. Thanks for fixing this

Steve Ebersole January 2, 2017 at 5:29 PM

Actually the "real" solution is to make Bytebuddy optional in MANIFEST.MF to match the Karaf feature file. As I stated above, if you want to use Bytebuddy you'd have to manually add that to your project's deps for 5.x

Thanks for fixing !

Gunnar Morling January 2, 2017 at 5:07 PM

Steve Ebersole January 2, 2017 at 4:49 PM

Re-opening this as there is a discrepancy between how the OSGi dep is defined in MANIFEST.MF (non-optional) and how it is defined in the Karaf feature file (optional). It should be optional in both

Steve Ebersole January 2, 2017 at 3:06 PM

I should have asked...

Are you specifically trying to use the ByteBuddy BytecodeProvider?

Fixed

Details

Assignee

Reporter

Components

Fix versions

Affects versions

Priority

Created December 6, 2016 at 11:47 AM
Updated January 19, 2017 at 1:57 PM
Resolved January 2, 2017 at 5:07 PM