I just had same issue when I installed the oracle 11g and then creating the database.
I don't even know that the listener has to create manually. Hence, I open Net Configuration Assistant and manually create the listener.
And I can connect the database that I created locally through sql developer.