No se puede invocar toString () en el tipo primitivo int int

int foo = 12345;
String foo_String = Integer.toString(foo);
Jolly Jaguar