Skip to content
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

ModelName could not be mapped to a JSON object. Perhaps it hasn't been annotated with @JsonObject? #184

Open
Drjacky opened this issue Oct 20, 2016 · 0 comments

Comments

@Drjacky
Copy link

Drjacky commented Oct 20, 2016

I'm using Eclipse IDE.
This is snippet code:

@JsonObject(fieldDetectionPolicy = JsonObject.FieldDetectionPolicy.NONPRIVATE_FIELDS_AND_ACCESSORS)
public class ModelName

 {

Java Compiler: Set to 1.7

Annotation processor: Enabled

Factory path: These are checked

org.eclipse.jdt.apt.pluggable.tests
org.eclipse.jdt.apt.tests
org.eclipse.jst.ws.annotation.core
/projectName/compile-libs/androidannotations-4.1.0.jar
/projectName/libs/androidannotations-api-4.1.0.jar
/projectName/compile-libs/logansquare-compiler-1.3.7.jar [It was on libs folder too, but error still exist!]

Those annotation jar files added to build path too.

Sample project: http://debfile.com/ckhm5er3r78m

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

No branches or pull requests

1 participant