Infinitely many solutions to boundary value problem for fractional differential equations