Certified GKH Gardening Expert
Make sure to test your soil to ensure that you are feeding them correctly. Improper fertilizer ratios (Usually too much nitrogen, or not enough phosphorus and potassium) Will be the most common reason for failure to fruit. Outside of this, improper pruning can have an effect of fruit production, as well.
Test your soil, and amend as necessary. These articles will help: