Cannot install Hibernate feature into Karaf 4.0.7

Description

When installing fresh hibernate:

Karaf-console

results in error

Error

Environment

apache-karaf-4.0.7

Activity

Show:
Steve Ebersole
January 2, 2017, 3:06 PM

I should have asked...

Are you specifically trying to use the ByteBuddy BytecodeProvider?

Steve Ebersole
January 2, 2017, 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

Gunnar Morling
January 2, 2017, 5:07 PM
Steve Ebersole
January 2, 2017, 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 !

Steve Higham
January 2, 2017, 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

Assignee

Gunnar Morling

Reporter

Dmitriy Sulimchuk

Fix versions

Labels

None

backPortable

None

Suitable for new contributors

None

Requires Release Note

None

Pull Request

None

backportDecision

None

Components

Affects versions

Priority

Major
Configure