Posts

Showing posts from April, 2017

spring boot some error log draft

1.What > java.lang.NoClassDefFoundError jackson.databind.exc.InvalidDefinitionException Why because i used spring boot 2.0.0.BUILD-SNAPSHOT, it reference jackson-databind 2.9.0.pr3, but i manual code reference  jackson-databind with old version 2.5.1 in my pom.xml. How delete my old 2.5.1 reference, it is ok! 2. What > Caused by: java.lang.IllegalStateException: You need to configure a uri for the git repository Why because i used spring config with native not git mode,and spring.cloud.config.server.native need match with spring.profiles.active=native How define below row in application profile: spring.profiles.active=native 3.What > Binding to target org.springframework.cloud.config.server.environment.NativeEnvironmentRepository@1584c019 failed:     Property: spring.cloud.config.server.native.searchLocations     Value: null     Reason: Property 'searchLocations' threw exception; nested exception is java.lang.NullPoint...