Can't spawn my swep

Well I can’t figure out why my swep isn’t spawning. I have it in my entities folder called akswep.lua and it’s giving me this error:

Attempted to create unknown entity type akswep!
NULL Ent in GiveNamedItem!

Anyone know? Sorry if this is a really dumb question but i’m stumped.

Should be in weapons instead of entities.

I should have known. Thanks man.