my code is working perfectly in Eclipse but not in IntelliJ Could somebody tell me what is the reason.