Java Cannot Resolve Method Printf String Specifier For Major