{"action":"created","issue":{"url":"https://api.github.com/repos/javamelody/javamelody/issues/666","repository_url":"https://api.github.com/repos/javamelody/javamelody","labels_url":"https://api.github.com/repos/javamelody/javamelody/issues/666/labels{/name}","comments_url":"https://api.github.com/repos/javamelody/javamelody/issues/666/comments","events_url":"https://api.github.com/repos/javamelody/javamelody/issues/666/events","html_url":"https://github.com/javamelody/javamelody/issues/666","id":254255503,"node_id":"MDU6SXNzdWUyNTQyNTU1MDM=","number":666,"title":"spring boot (because it is a JDK dynamic proxy that implements)","user":{"login":"An0nymous0","id":6836030,"node_id":"MDQ6VXNlcjY4MzYwMzA=","avatar_url":"https://avatars0.githubusercontent.com/u/6836030?v=4","gravatar_id":"","url":"https://api.github.com/users/An0nymous0","html_url":"https://github.com/An0nymous0","followers_url":"https://api.github.com/users/An0nymous0/followers","following_url":"https://api.github.com/users/An0nymous0/following{/other_user}","gists_url":"https://api.github.com/users/An0nymous0/gists{/gist_id}","starred_url":"https://api.github.com/users/An0nymous0/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/An0nymous0/subscriptions","organizations_url":"https://api.github.com/users/An0nymous0/orgs","repos_url":"https://api.github.com/users/An0nymous0/repos","events_url":"https://api.github.com/users/An0nymous0/events{/privacy}","received_events_url":"https://api.github.com/users/An0nymous0/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2017-08-31T08:28:35Z","updated_at":"2018-08-10T03:42:10Z","closed_at":"2017-09-06T23:11:14Z","author_association":"NONE","body":"1.gradle\r\n```gradle\r\ncompile group: 'net.bull.javamelody', name: 'javamelody-spring-boot-starter', version: '1.69.0'\r\n```\r\n\r\n2.\r\n```yml\r\napplication.yml\r\n   aop:\r\n       auto: true\r\n       proxy-target-class: true\r\n```\r\n\r\n3.\r\n```java\r\n@Transactional \r\nxx method()\r\n```\r\n4.start spring boot\r\nThe bean 'xxxService' could not be injected as a 'com.xxx.service.xxxService' because it is a JDK dynamic proxy that implements:\r\n\r\n\r\nAction:\r\n\r\nConsider injecting the bean as one of its interfaces or forcing the use of CGLib-based proxies by setting proxyTargetClass=true on @EnableAsync and/or @EnableCaching.\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/javamelody/javamelody/issues/comments/411966463","html_url":"https://github.com/javamelody/javamelody/issues/666#issuecomment-411966463","issue_url":"https://api.github.com/repos/javamelody/javamelody/issues/666","id":411966463,"node_id":"MDEyOklzc3VlQ29tbWVudDQxMTk2NjQ2Mw==","user":{"login":"sxdtzhaoxinguo","id":12635170,"node_id":"MDQ6VXNlcjEyNjM1MTcw","avatar_url":"https://avatars0.githubusercontent.com/u/12635170?v=4","gravatar_id":"","url":"https://api.github.com/users/sxdtzhaoxinguo","html_url":"https://github.com/sxdtzhaoxinguo","followers_url":"https://api.github.com/users/sxdtzhaoxinguo/followers","following_url":"https://api.github.com/users/sxdtzhaoxinguo/following{/other_user}","gists_url":"https://api.github.com/users/sxdtzhaoxinguo/gists{/gist_id}","starred_url":"https://api.github.com/users/sxdtzhaoxinguo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sxdtzhaoxinguo/subscriptions","organizations_url":"https://api.github.com/users/sxdtzhaoxinguo/orgs","repos_url":"https://api.github.com/users/sxdtzhaoxinguo/repos","events_url":"https://api.github.com/users/sxdtzhaoxinguo/events{/privacy}","received_events_url":"https://api.github.com/users/sxdtzhaoxinguo/received_events","type":"User","site_admin":false},"created_at":"2018-08-10T03:42:10Z","updated_at":"2018-08-10T03:42:10Z","author_association":"NONE","body":"add this configuration spring.aop.proxy-target-class=true in the application.properties file!"}}
{"actor":{"display_login":"sxdtzhaoxinguo"}}