how to solve this problem
Might be the fuel pump. Determine if you have fuel pressure at the injectors.
Can be all sorts of things, make sure your engine is getting the basic three: fuel, air and spark. If any of these is missing you will not get it started. Once you figure out which is missing you have your starting point.
Its the fuel pump... mine had the same problem.