Java transaction with the pure stake api error

This is an example from the PureStake example repo, also linked from the developer website: