I did the solution to the problem,Its just another perspectiveI was working on Resource instead of Java