{"action":"closed","issue":{"url":"https://api.github.com/repos/redisson/redisson/issues/1016","repository_url":"https://api.github.com/repos/redisson/redisson","labels_url":"https://api.github.com/repos/redisson/redisson/issues/1016/labels{/name}","comments_url":"https://api.github.com/repos/redisson/redisson/issues/1016/comments","events_url":"https://api.github.com/repos/redisson/redisson/issues/1016/events","html_url":"https://github.com/redisson/redisson/issues/1016","id":253161943,"number":1016,"title":"Config.fromJSON thow an exception","user":{"login":"battlesteed","id":6690928,"avatar_url":"https://avatars1.githubusercontent.com/u/6690928?v=4","gravatar_id":"","url":"https://api.github.com/users/battlesteed","html_url":"https://github.com/battlesteed","followers_url":"https://api.github.com/users/battlesteed/followers","following_url":"https://api.github.com/users/battlesteed/following{/other_user}","gists_url":"https://api.github.com/users/battlesteed/gists{/gist_id}","starred_url":"https://api.github.com/users/battlesteed/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/battlesteed/subscriptions","organizations_url":"https://api.github.com/users/battlesteed/orgs","repos_url":"https://api.github.com/users/battlesteed/repos","events_url":"https://api.github.com/users/battlesteed/events{/privacy}","received_events_url":"https://api.github.com/users/battlesteed/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":5,"created_at":"2017-08-27T12:54:53Z","updated_at":"2017-08-29T02:13:31Z","closed_at":"2017-08-29T02:13:31Z","body":"the redisson version is 3.5.0,\r\nfollow is the StackTrace\r\n\r\njava.lang.NoSuchMethodError: com.fasterxml.jackson.databind.ObjectMapper.setFilterProvider(Lcom/fasterxml/jackson/databind/ser/FilterProvider;)Lcom/fasterxml/jackson/databind/ObjectMapper;\r\n\tat org.redisson.config.ConfigSupport.createMapper(ConfigSupport.java:281)\r\n\tat org.redisson.config.ConfigSupport.<init>(ConfigSupport.java:124)\r\n\tat org.redisson.config.Config.fromJSON(Config.java:639)\r\n\tat org.redisson.config.Config.fromJSON(Config.java:651)\r\n\tat steed.util.redis.RedissonUtil.<clinit>(RedissonUtil.java:18)\r\n\tat steed.test.redis.TestRedisson.testDataCacheUtil(TestRedisson.java:14)\r\n\tat sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)\r\n\tat sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)\r\n\tat sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)\r\n\tat java.lang.reflect.Method.invoke(Unknown Source)\r\n\tat org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50)\r\n\tat org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)\r\n\tat org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47)\r\n\tat org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)\r\n\tat org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325)\r\n\tat org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:78)\r\n\tat org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:57)\r\n\tat org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)\r\n\tat org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71)\r\n\tat org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288)\r\n\tat org.junit.runners.ParentRunner.access$000(ParentRunner.java:58)\r\n\tat org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268)\r\n\tat org.junit.runners.ParentRunner.run(ParentRunner.java:363)\r\n\tat org.eclipse.jdt.internal.junit4.runner.JUnit4TestReference.run(JUnit4TestReference.java:86)\r\n\tat org.eclipse.jdt.internal.junit.runner.TestExecution.run(TestExecution.java:38)\r\n\tat org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:459)\r\n\tat org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:678)\r\n\tat org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:382)\r\n\tat org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:192)\r\n\r\nmy config code is this:\r\n\r\n     Config.fromJSON(new File(PathUtil.praseRelativePath(\"properties/redisson.json\")));\r\n\r\nthe follow is a part of maven downed redisson source code\r\n\r\n      mapper.addMixIn(MasterSlaveServersConfig.class, MasterSlaveServersConfigMixIn.class);\r\n      FilterProvider filterProvider = new SimpleFilterProvider().addFilter(\"classFilter\", SimpleBeanPropertyFilter.filterOutAllExcept());\r\n      mapper.setFilterProvider(filterProvider);//this line throw the exception\r\n\r\nthen i copy this code to eclipse ,and eclipse report an Compile error like follow:\r\n    ` The method setFilterProvider(FilterProvider) is undefined for the type ObjectMapper`\r\n\r\nso I think there is some problem in the jar of 3.5.0 version\r\n\r\n\r\n"}}
{"actor":{"display_login":"battlesteed"}}