Skip to content
This repository was archived by the owner on Feb 12, 2022. It is now read-only.

Support for jackson 1.x annotations( codehaus ) #303

Closed
vijayrcse opened this issue Sep 21, 2017 · 2 comments
Closed

Support for jackson 1.x annotations( codehaus ) #303

vijayrcse opened this issue Sep 21, 2017 · 2 comments

Comments

@vijayrcse
Copy link

vijayrcse commented Sep 21, 2017

We have some projects using Jackson 1.9 where we use the below provider

org.codehaus.jackson.jaxrs.JacksonJsonProvider

Since the model object are generated as interfaces & classes we get below exception during deserialization

org.codehaus.jackson.map.JsonMappingException: Can not construct instance of com.org.Employee, problem: abstract types can only be instantiated with additional type information

is it possible that model classes generated support Jackson 1

note : we are using datatypes in RAML
Please advise

@mikkoi
Copy link
Contributor

mikkoi commented Feb 8, 2018

Also I fail with Jackson1 generation.
Can you share your config? Maven?

@jpbelang
Copy link
Contributor

See #332

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

4 participants