Skip to content
This repository has been archived by the owner on Jan 22, 2019. It is now read-only.

Class not found exception in OSGi (com.fasterxml.jackson.databind.ser.impl.UnwrappingBeanPropertyWriter) #84

Closed
mjameson-se opened this issue Sep 29, 2015 · 1 comment
Milestone

Comments

@mjameson-se
Copy link
Contributor

Just upgraded my project dependencies to 2.6.2 (from 2.5.1), starting seeing an exception on serialization complaining about com.fasterxml.jackson.databind.ser.impl.UnwrappingBeanPropertyWriter not being found. Looks like the guava module jar does not have an import directive for that package. Ideally, it shouldn't have to since you guys aren't using that class directly. However, in order for it to all work, the package you're importing from needs to have "uses" directives attached to their Export-Package entries which specify their transitive package dependencies.

@cowtowncoder
Copy link
Member

Ok, thank you for reporting this. There is actually a dependency to it from within code that handles Optional. Going forward it may make sense to just rely on auto-generated dependencies, although for 2.6.3 I may just add import explicitly, to minimize risk of unrelated breakage (that is, in case auto-generation has some problems -- adding that for 2.7 gives more testing than doing it in a patch).

@cowtowncoder cowtowncoder modified the milestones: 2.3., 2.6.3 Sep 29, 2015
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants