Question: where to put hibernate cfg xml in eclipse?
Answer: cfg. xml from any different path. If you are using Eclipse, go to Project -> Properties -> Java Build Path -> Source. You can add the new folder where you placed the file, or move the file to the existing folder.