On the existence of two solutions for a general class of jumping problems