I'm trying to generate jfr for a java 8 application running on jboss 7.2. For this when we select "Attach Intellij profiler" it is not running. It is failing with below error
Exception in thread "Attach Listener" 12:50:45,338 ERROR [stderr] (Attach Listener) java.lang.NoClassDefFoundError: jdk/jfr/FlightRecorderListener
[ERROR] Failed to initialize JfrSync class
We are able to generate jfr from jcmd command for the same application.
Any pointers on how to fix this issue.