In my own setting (probably best described as being on the lower tech end of sci-fi') ballistic weapons are still used as well a energy weapons.
Pulse Photon weapons or 'lasers' as their more commonly known as, are the most common weapon around, being cheep, reliable and with a high ammo cappacity, they became the weapon of choice but by no means replaced ballistics. Ballistic weapons have also advanced and are equally as leathal as a equivilent photon weapon.
Both weapons have pros and cons; for example a laser rifle is very quiet, but will easily give away your position from the flash unless you have a spectrum regulator attached, but which will also slightly reduce its damage. A bullet based rifle will make a lot of noise with out a silencer but won't show a bright trail of light leading right to you.
A major reason why photon weaponry was acepted so well by millitarys is its ammo beneifits. All photon weapons need a special power pack much like any clip, these will provide enough power for many shots (about 140 for an assualt rifle). Other than a fairly high ammo capacity, a big plus is that with the right bit of kit and a suply of electricity photon packs can be recharged. Removeing need for ammo convoys etc, any generator or power suply is a source.
However in my setting most laser weapons don't have multiple/variable power settings and can stun no differently than any bullet would. Sheilds are less an issue as they are primarily only used in space where they can opperate without the distubance of gravity, and then work equally well at stoping both attacks (but weakend less by small projectiles).
Theres also other weapons of course such as plasma weaponry, which isn't realy an energy weapon, also rail guns, corrite bullets (explosive nastys), sonic weapons (#1 for dealing with riots), Ion (lousy for most jobs, special uses). And more but this isn't the place to go on about my seting.
Basicly I agree that theres no reason that ballistic weaponry would disapear.