When I use Spring Batch with minimized JRE (without jdk.jfr module) following exception is thrown at TaskExecutorJobOperator.start method:
<#f190dde2> java.lang.ClassNotFoundException: jdk.jfr.Event
... 188 more
Wrapped by: <#57495acc> java.lang.NoClassDefFoundError: jdk/jfr/Event
at org.springframework.batch.core.launch.support.TaskExecutorJobOperator.start(TaskExecutorJobOperator.java:112)
[truncated]
Is JFR required for Spring Batch?
When I use Spring Batch with minimized JRE (without jdk.jfr module) following exception is thrown at
TaskExecutorJobOperator.startmethod:Is JFR required for Spring Batch?