I am replacing some ceiling fans in my house with regular light fixtures and after removing the ceiling fan and wiring in the new light the light would not turn on. I checked my wiring and have black on black white on white and ground to ground. I then took to the switch and replaced the dual pole switch with a new standard switch replacing the wires as I found them. The previous switch was wired for one to control the light and the other the fan. So now it is a single switch. Still nothing works. In the switch box I have 2 black wires on the switch 1 white wire on the switch and the ground is bundled with 3 other white wires. I have tried everything I know to try and can't figure out the problem. Everything was working before I tried changing this light.
It sounds like you've attached all of the wires from the new light fixture to your switch. You mentioned 2 black wires and 1 white wire. If one of the blacks and one of the whites are both going to the light fixture, then at best your light fixture will have 2 hot wires and an open circuit.
With no photos and no way to ID all the wires you mentioned at the switch, I can only guess what was done and what was the result.
In general, you want ONE hot wire on the switch and ONE luminaire wire on the switch. The other wire from the luminaire needs to be connected to a neutral conductor.