Ex#1: History replay not working in test

I tried to follow the instructions presented in the Readme. But then the test fails with this exception:
java.lang.IllegalArgumentException: First event is not WorkflowExecutionStarted but event_id: 1

at io.temporal.internal.common.WorkflowExecutionHistory.checkHistory([WorkflowExecutionHistory.java:78]
at io.temporal.internal.common.WorkflowExecutionHistory.([WorkflowExecutionHistory.java:61]
at io.temporal.common.WorkflowExecutionHistory.([WorkflowExecutionHistory.java:55]
at io.temporal.common.WorkflowExecutionHistory.fromJson([WorkflowExecutionHistory.java:82]
at io.temporal.common.WorkflowExecutionHistory.fromJson([WorkflowExecutionHistory.java:63]
at io.temporal.testing.WorkflowHistoryLoader.readHistory([WorkflowHistoryLoader.java:60]
at io.temporal.testing.WorkflowReplayer.replayWorkflowExecution([WorkflowReplayer.java:91]
at vesionworkflow.LoanProcessingWorkflowTest.lambda$0([LoanProcessingWorkflowTest.java:34]

Which is weird because as you can see the event_id is 1, which should correspond to a WorkflowExecutionStarted event. Debugging the execution I found that the eventType_ field contains the value 0 (instead of 1), which according to the docs of the EventType enumeration corresponds to EVENT_TYPE_UNSPECIFIED and should never occur in a history.
For downloading the history I used this server: CLI 1.1.1 (Server 1.25.1, UI 2.31.2)
The code of the exercise is using version 1.20.1 of temporal.

Oh, switching to the version in the POM to 1.25.1 did the trick. :+1: