{"action":"created","issue":{"url":"https://api.github.com/repos/zolyfarkas/spf4j/issues/4","labels_url":"https://api.github.com/repos/zolyfarkas/spf4j/issues/4/labels{/name}","comments_url":"https://api.github.com/repos/zolyfarkas/spf4j/issues/4/comments","events_url":"https://api.github.com/repos/zolyfarkas/spf4j/issues/4/events","html_url":"https://github.com/zolyfarkas/spf4j/issues/4","id":95913962,"number":4,"title":"Cannot capture performace","user":{"login":"ivenhov","id":778457,"avatar_url":"https://avatars.githubusercontent.com/u/778457?v=3","gravatar_id":"","url":"https://api.github.com/users/ivenhov","html_url":"https://github.com/ivenhov","followers_url":"https://api.github.com/users/ivenhov/followers","following_url":"https://api.github.com/users/ivenhov/following{/other_user}","gists_url":"https://api.github.com/users/ivenhov/gists{/gist_id}","starred_url":"https://api.github.com/users/ivenhov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ivenhov/subscriptions","organizations_url":"https://api.github.com/users/ivenhov/orgs","repos_url":"https://api.github.com/users/ivenhov/repos","events_url":"https://api.github.com/users/ivenhov/events{/privacy}","received_events_url":"https://api.github.com/users/ivenhov/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-07-19T12:54:13Z","updated_at":"2015-07-30T13:44:39Z","closed_at":null,"body":"Hi I've tagged my method with:\r\n\r\n\t@JmxExport\r\n\t@PerformanceMonitor(warnThresholdMillis=1, errorThresholdMillis=100, recorderSource = RecorderSourceInstance.Rs5m.class)\r\n\r\nAnd I get exception on it:\r\n\r\nException in thread \"AWT-EventQueue-0\" java.lang.NoSuchMethodError: org.spf4j.perf.aspects.PerformanceMonitorAspect.aspectOf()Lorg/spf4j/perf/aspects/PerformanceMonitorAspect;\r\n\r\nI'm starting application From Eclipse with JDK 1.7.0_55\r\n-javaagent:depend/aspectj/1.8.6/lib/aspectjweaver-1.8.6.jar\r\n\r\nand with aop-ajc.xml in src/META-INFO folder\r\n`\r\n<?xml version=\"1.0\" encoding=\"UTF-8\"?>\r\n<aspectj>\r\n\t<aspects>\r\n\t\t<aspect name=\"org.spf4j.perf.aspects.PerformanceMonitorAspect\" />\r\n\t</aspects>\r\n\t<weaver options=\"-verbose\">\r\n\t\t<include within=\"com.*..*\" />\r\n\t</weaver>\r\n</aspectj>\r\n`\r\nAlso JMX Beans are not visible in VisualVM at this point\r\nWhat am I doing wrong?"},"comment":{"url":"https://api.github.com/repos/zolyfarkas/spf4j/issues/comments/126328917","html_url":"https://github.com/zolyfarkas/spf4j/issues/4#issuecomment-126328917","issue_url":"https://api.github.com/repos/zolyfarkas/spf4j/issues/4","id":126328917,"user":{"login":"zolyfarkas","id":144085,"avatar_url":"https://avatars.githubusercontent.com/u/144085?v=3","gravatar_id":"","url":"https://api.github.com/users/zolyfarkas","html_url":"https://github.com/zolyfarkas","followers_url":"https://api.github.com/users/zolyfarkas/followers","following_url":"https://api.github.com/users/zolyfarkas/following{/other_user}","gists_url":"https://api.github.com/users/zolyfarkas/gists{/gist_id}","starred_url":"https://api.github.com/users/zolyfarkas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zolyfarkas/subscriptions","organizations_url":"https://api.github.com/users/zolyfarkas/orgs","repos_url":"https://api.github.com/users/zolyfarkas/repos","events_url":"https://api.github.com/users/zolyfarkas/events{/privacy}","received_events_url":"https://api.github.com/users/zolyfarkas/received_events","type":"User","site_admin":false},"created_at":"2015-07-30T13:44:39Z","updated_at":"2015-07-30T13:44:39Z","body":"take a look at: PerformanceMonitorAspectTest it is is a example of what you are trying to do.\r\n"}}