Is it possible to mock static methods in java with spock? I know it is possible to mock static groovy methods but can't get this working for Java methods.
No. You need PowerMockito for that. Refactor the class or alternatively wrap the static call in a protected method and stub it out as a spy.