As well as the accepted answer by Salah Akbari above, make sure that the constructor is public, otherwise you'll still get the same issue.
public