hi,
caves have always been seen symboloically and used as places of initiation into the mysteries,
journeying into the cave you are entering that place within yourself ,
in mythological stories,something usually guards the entrance,sometimes it can be someone or something telling you not to go on as its pointless,or telling you to stay you will be safe here,these are all barriers to finishing the quest,
you may have beliefs ,are they yours ,based on your own experience or are they just learned from others,
there comes a time when the foundation of our beliefs comes under threat,but i feel this is to shake us out of a rut.
therefore i would see your dream as a reflection of this aspect,
i think it was called the dark night of the soul,
go where your heart and soul want to go,and dont be afraid,doors will open where you never expected to find any,
these are the words of joseph campbell a man who new the trail well.
hope this is of help.