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

presentation branch's rest build.gradle denpencies updates -downgrade jackson-databind-2.9.0 to 2.8.7 #21

Open
mingqin1 opened this issue Aug 11, 2017 · 0 comments

Comments

@mingqin1
Copy link

mingqin1 commented Aug 11, 2017

Hi:
The current build.gradle will import jackson-databind-2.9.0 jar which causes springboot's staring up failure for reason of java.lang.NoClassDefFoundError: com/fasterxml/jackson/annotation/JsonMerge.

After modifying the build.gradle's dependencies as following , spring boot starts up successfully.

dependencies {
compile ".............
..............
"javax.servlet:jstl"
compile "com.fasterxml.jackson.core:jackson-databind:2.8.7"
compile ('com.maxmind.geoip2:geoip2:2.7.0'){
exclude group: 'com.fasterxml.jackson.core', module: 'jackson-databind'
}

Another way to learn:
The netbeans 8.2 tested maven version of presentation branch is post here -https://github.com/mingqin1/spring-security-4.1-and-beyond/tree/presentation . The maven converted codes serve the purpose of encourage of learning . All the credits go to Rob Winch, Joe Grandja

@mingqin1 mingqin1 changed the title presentation rest's branch's build.gradle denpencies updates presentation rest's branch's build.gradle denpencies updates -downgrade jackson-databind-2.90 to 2.87 Aug 11, 2017
@mingqin1 mingqin1 changed the title presentation rest's branch's build.gradle denpencies updates -downgrade jackson-databind-2.90 to 2.87 presentation rest's branch's build.gradle denpencies updates -downgrade jackson-databind-2.9.0 to 2.8.7 Aug 11, 2017
@mingqin1 mingqin1 changed the title presentation rest's branch's build.gradle denpencies updates -downgrade jackson-databind-2.9.0 to 2.8.7 presentation branch's rest build.gradle denpencies updates -downgrade jackson-databind-2.9.0 to 2.8.7 Aug 11, 2017
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