Type: Posts; User: andbin
You have to fully "qualify" all occurrences of the Scanner class name, also in the instantiation expression.