I can't think of anything obvious. Since registration occurs via REST framework of some kind, it would seem like maybe registration is failing for some reason? Sometimes framework uses different `ObjectMapper` than user expects, leading to missing configuration.
-+ Tatu +- On Thu, Jun 30, 2016 at 12:23 PM, Amol Fuke <amol.f...@gmail.com> wrote: > Hi , > > I have a common bean that I am using in my 2 separate REST calls.Both the > calls have different output attributes from same bean (i.e CampainBean) > > CampaignBean has 3 attributes - id , name and status > > Rest Call 1 - needs to show "id" and "name" > > Rest Call 2 - Need to show "id","name" and "status" > > Rest call 1 controller has this filter - > FilterProvider filters = new > SimpleFilterProvider().addFilter("campaignBeanFilter",SimpleBeanPropertyFilter.filterOutAllExcept("id","name","status")); > > Rest call 2 controller has this filter - > > FilterProvider filters = new > SimpleFilterProvider().addFilter("campaignBeanFilter",SimpleBeanPropertyFilter.filterOutAllExcept("id","name")); > > Rest call 1 works fine but when I hit rest call 2 , it gives following > exception - > > e>com.fasterxml.jackson.databind.JsonMappingException: Can not resolve > PropertyFilter with id 'campaignBeanFilter'; no FilterProvider configured > > > Am I missing anything in configuration ? > > > > -- > You received this message because you are subscribed to the Google Groups > "jackson-user" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to jackson-user+unsubscr...@googlegroups.com. > To post to this group, send email to jackson-user@googlegroups.com. > For more options, visit https://groups.google.com/d/optout. > -- You received this message because you are subscribed to the Google Groups "jackson-user" group. To unsubscribe from this group and stop receiving emails from it, send an email to jackson-user+unsubscr...@googlegroups.com. To post to this group, send email to jackson-user@googlegroups.com. For more options, visit https://groups.google.com/d/optout.